Implemented return values
This commit is contained in:
parent
67b3a3d820
commit
a0edc45e19
7 changed files with 113 additions and 61 deletions
|
@ -22,7 +22,7 @@ const (
|
|||
)
|
||||
|
||||
var (
|
||||
CallRegisters = []cpu.Register{RDI, RSI, RDX, RCX, R8, R9}
|
||||
CallRegisters = SyscallRegisters
|
||||
GeneralRegisters = []cpu.Register{RBX, RBP, R12, R13, R14, R15}
|
||||
SyscallRegisters = []cpu.Register{RAX, RDI, RSI, RDX, R10, R8, R9}
|
||||
ReturnValueRegisters = []cpu.Register{RAX, RCX, R11}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue