about summary refs log tree commit diff stats
path: root/021byte_addressing.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-15 22:20:12 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-15 22:20:12 -0700
commiteb45b315b66ab3b08328e2a5f3d99f87c8cf7163 (patch)
tree4c95fe812e19218556af414035215aface1c5258 /021byte_addressing.cc
parent4c3a867bf1022447d71345616b85820d0a5e562b (diff)
downloadmu-eb45b315b66ab3b08328e2a5f3d99f87c8cf7163.tar.gz
7041
Reconcile a few details with the mu-normie fork.
Diffstat (limited to '021byte_addressing.cc')
-rw-r--r--021byte_addressing.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/021byte_addressing.cc b/021byte_addressing.cc
index d952e5b4..1a0a71b9 100644
--- a/021byte_addressing.cc
+++ b/021byte_addressing.cc
@@ -41,7 +41,7 @@ uint8_t* reg_8bit(uint8_t rm) {
 put_new(Name, "88", "copy r8 to r8/m8-at-r32");
 
 :(code)
-void test_copy_r8_to_mem_at_r32() {
+void test_copy_r8_to_mem_at_rm32() {
   Reg[EBX].i = 0x224488ab;
   Reg[EAX].i = 0x2000;
   run(
@@ -79,7 +79,7 @@ case 0x88: {  // copy r8 to r/m8
 put_new(Name, "8a", "copy r8/m8-at-r32 to r8");
 
 :(code)
-void test_copy_mem_at_r32_to_r8() {
+void test_copy_mem_at_rm32_to_r8() {
   Reg[EBX].i = 0xaabbcc0f;  // one nibble each of lowest byte set to all 0s and all 1s, to maximize value of this test
   Reg[EAX].i = 0x2000;
   run(
@@ -139,7 +139,7 @@ void test_cannot_copy_byte_to_ESP_EBP_ESI_EDI() {
 put_new(Name, "c6", "copy imm8 to r8/m8-at-r32 (mov)");
 
 :(code)
-void test_copy_imm8_to_mem_at_r32() {
+void test_copy_imm8_to_mem_at_rm32() {
   Reg[EAX].i = 0x2000;
   run(
       "== code 0x1\n"