about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--subx/014indirect_addressing.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/014indirect_addressing.cc b/subx/014indirect_addressing.cc
index 0882f4e8..8554b6ef 100644
--- a/subx/014indirect_addressing.cc
+++ b/subx/014indirect_addressing.cc
@@ -402,7 +402,7 @@ f0 cc bb aa  # 0xf0 with more data in following bytes
 % CHECK_EQ(0xaabbccab, read_mem_u32(0x2000));
 
 :(before "End Single-Byte Opcodes")
-case 0x88: {  // copy r/m8 to r8
+case 0x88: {  // copy r8 to r/m8
   uint8_t modrm = next();
   uint8_t reg2 = (modrm>>3)&0x7;
   trace(90, "run") << "copy lowermost byte of " << rname(reg2) << " to r8/m8-at-r32" << end();