diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-05-13 17:09:33 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-05-13 17:09:33 -0700 |
commit | 5747b18422deb95aa10be5e0c32b9d60d11db980 (patch) | |
tree | 0df8d1cbecb59994564fbe3591e2e09d3b5529ad | |
parent | 8a69bf9883985411653f766de0f28928ac844ccc (diff) | |
download | mu-5747b18422deb95aa10be5e0c32b9d60d11db980.tar.gz |
.
-rw-r--r-- | subx/015immediate_addressing.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/subx/015immediate_addressing.cc b/subx/015immediate_addressing.cc index 6682bc6d..6e70ce71 100644 --- a/subx/015immediate_addressing.cc +++ b/subx/015immediate_addressing.cc @@ -612,7 +612,7 @@ void test_shift_right_logical_negative_r32_with_imm8() { put_new(Name, "25", "EAX = bitwise AND of imm32 with EAX (and)"); :(code) -void test_and_imm32_with_EAX() { +void test_and_EAX_with_imm32() { Reg[EAX].i = 0xff; run( "== 0x1\n" // code segment @@ -704,7 +704,7 @@ void test_and_imm32_with_r32() { put_new(Name, "0d", "EAX = bitwise OR of imm32 with EAX (or)"); :(code) -void test_or_imm32_with_EAX() { +void test_or_EAX_with_imm32() { Reg[EAX].i = 0xd0c0b0a0; run( "== 0x1\n" // code segment @@ -794,7 +794,7 @@ void test_or_imm32_with_r32() { put_new(Name, "35", "EAX = bitwise XOR of imm32 with EAX (xor)"); :(code) -void test_xor_imm32_with_EAX() { +void test_xor_EAX_with_imm32() { Reg[EAX].i = 0xddccb0a0; run( "== 0x1\n" // code segment @@ -884,7 +884,7 @@ void test_xor_imm32_with_r32() { put_new(Name, "3d", "compare: set SF if EAX < imm32 (cmp)"); :(code) -void test_compare_imm32_with_EAX_greater() { +void test_compare_EAX_with_imm32_greater() { Reg[EAX].i = 0x0d0c0b0a; run( "== 0x1\n" // code segment @@ -930,7 +930,7 @@ void test_compare_EAX_with_imm32_lesser() { ); } -void test_compare_imm32_with_EAX_equal() { +void test_compare_EAX_with_imm32_equal() { Reg[EAX].i = 0x0d0c0b0a; run( "== 0x1\n" // code segment |