about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-12 23:13:15 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-12 23:13:15 -0700
commit88b478087e65a3684b5e5d94992421919469040a (patch)
tree798300441296e59a13559fc32c955bed628367e7
parentc25d9aa42a7d3ea142ca8cb3887030866ac32a6f (diff)
downloadmu-88b478087e65a3684b5e5d94992421919469040a.tar.gz
4685
-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();