Move inline assembly to .asm file
Update core.api