Implemented number output
This commit is contained in:
@ -200,6 +200,8 @@ func (a Assembler) Finalize() ([]byte, []byte) {
|
||||
switch operands := x.Data.(type) {
|
||||
case *MemoryNumber:
|
||||
code = x64.StoreNumber(code, operands.Address.Base, operands.Address.Offset, operands.Address.Length, operands.Number)
|
||||
case *MemoryRegister:
|
||||
code = x64.StoreRegister(code, operands.Address.Base, operands.Address.Offset, operands.Address.Length, operands.Register)
|
||||
}
|
||||
|
||||
case SYSCALL:
|
||||
|
Reference in New Issue
Block a user