Simplified register names
This commit is contained in:
parent
f3f3ccc95f
commit
487c7fb3a6
33 changed files with 922 additions and 930 deletions
|
@ -13,14 +13,14 @@ func TestNegateRegister(t *testing.T) {
|
|||
Register cpu.Register
|
||||
Code []byte
|
||||
}{
|
||||
{x86.RAX, []byte{0x48, 0xF7, 0xD8}},
|
||||
{x86.RCX, []byte{0x48, 0xF7, 0xD9}},
|
||||
{x86.RDX, []byte{0x48, 0xF7, 0xDA}},
|
||||
{x86.RBX, []byte{0x48, 0xF7, 0xDB}},
|
||||
{x86.RSP, []byte{0x48, 0xF7, 0xDC}},
|
||||
{x86.RBP, []byte{0x48, 0xF7, 0xDD}},
|
||||
{x86.RSI, []byte{0x48, 0xF7, 0xDE}},
|
||||
{x86.RDI, []byte{0x48, 0xF7, 0xDF}},
|
||||
{x86.R0, []byte{0x48, 0xF7, 0xD8}},
|
||||
{x86.R1, []byte{0x48, 0xF7, 0xD9}},
|
||||
{x86.R2, []byte{0x48, 0xF7, 0xDA}},
|
||||
{x86.R3, []byte{0x48, 0xF7, 0xDB}},
|
||||
{x86.SP, []byte{0x48, 0xF7, 0xDC}},
|
||||
{x86.R5, []byte{0x48, 0xF7, 0xDD}},
|
||||
{x86.R6, []byte{0x48, 0xF7, 0xDE}},
|
||||
{x86.R7, []byte{0x48, 0xF7, 0xDF}},
|
||||
{x86.R8, []byte{0x49, 0xF7, 0xD8}},
|
||||
{x86.R9, []byte{0x49, 0xF7, 0xD9}},
|
||||
{x86.R10, []byte{0x49, 0xF7, 0xDA}},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue