Implemented calls using memory addresses
This commit is contained in:
src
asm
asmc
core
register
x86
@ -32,5 +32,8 @@ func (c *compiler) call(x asm.Instruction) {
|
||||
|
||||
case *asm.Register:
|
||||
c.code = x86.CallRegister(c.code, data.Register)
|
||||
|
||||
case *asm.Memory:
|
||||
c.code = x86.CallAtMemory(c.code, data.Base, data.Offset)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user