Improved Windows ABI support

This commit is contained in:
2025-02-15 18:23:33 +01:00
parent 0a1a8f741d
commit d0bcd8cf9f
22 changed files with 124 additions and 32 deletions

View File

@ -123,6 +123,8 @@ func (c *compiler) compile(x asm.Instruction) {
case asm.PUSH:
switch operands := x.Data.(type) {
case *asm.Number:
c.code = x86.PushNumber(c.code, operands.Number)
case *asm.Register:
c.code = x86.PushRegister(c.code, operands.Register)
}