Implemented division by immediates in the IR
This commit is contained in:
parent
89ed2026e0
commit
42e7c8a306
7 changed files with 61 additions and 20 deletions
|
@ -19,12 +19,13 @@ const (
|
|||
R13
|
||||
R14
|
||||
R15
|
||||
TMP = RCX
|
||||
)
|
||||
|
||||
var (
|
||||
SyscallInputRegisters = []cpu.Register{RAX, RDI, RSI, RDX, R10, R8, R9}
|
||||
SyscallOutputRegisters = []cpu.Register{RAX, RCX, R11}
|
||||
GeneralRegisters = []cpu.Register{RBX, R12, R13, R14, R15, RCX, R11}
|
||||
GeneralRegisters = []cpu.Register{RBX, R12, R13, R14, R15, R11}
|
||||
InputRegisters = SyscallInputRegisters
|
||||
OutputRegisters = SyscallInputRegisters
|
||||
WindowsInputRegisters = []cpu.Register{RCX, RDX, R8, R9}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue