about summary refs log tree commit diff stats
path: root/015immediate_addressing.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-10-21 17:06:09 -0700
committerKartik Agaram <vc@akkartik.com>2019-10-23 00:47:02 -0700
commit76599bb813970f09ddd27d476f5b62be9bf97d4d (patch)
tree4eca1a212821af64756cc856973e09e26b257238 /015immediate_addressing.cc
parent4ef2d0fe42a4a449b054ae35c7b6940bb5f69d33 (diff)
downloadmu-76599bb813970f09ddd27d476f5b62be9bf97d4d.tar.gz
5713
Diffstat (limited to '015immediate_addressing.cc')
-rw-r--r--015immediate_addressing.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/015immediate_addressing.cc b/015immediate_addressing.cc
index 782a16b9..0ff5726d 100644
--- a/015immediate_addressing.cc
+++ b/015immediate_addressing.cc
@@ -1205,7 +1205,7 @@ case 0xbf: {  // copy imm32 to r32
 //:
 
 :(before "End Initialize Op Names")
-put_new(Name, "c7", "copy imm32 to rm32 (mov)");
+put_new(Name, "c7", "copy imm32 to rm32 with subop 0 (mov)");
 
 :(code)
 void test_copy_imm32_to_mem_at_r32() {
@@ -1214,7 +1214,7 @@ void test_copy_imm32_to_mem_at_r32() {
       "== code 0x1\n"
       // op     ModR/M  SIB   displacement  immediate
       "  c7     03                          0a 0b 0c 0d \n"  // copy 0x0d0c0b0a to *EBX
-      // ModR/M in binary: 00 (indirect mode) 000 (unused) 011 (dest EBX)
+      // ModR/M in binary: 00 (indirect mode) 000 (subop) 011 (dest EBX)
   );
   CHECK_TRACE_CONTENTS(
       "run: copy imm32 to r/m32\n"