about summary refs log tree commit diff stats
path: root/subx/013direct_addressing.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-15 00:48:48 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-15 00:48:48 -0700
commit4ff14e821ee86c40866a1400dc67a4206271b9b5 (patch)
tree98d1ec9f3b818d3e3e441e01a080bf3c8cdf73d9 /subx/013direct_addressing.cc
parent6376008f9f59e3c8f077843848021fc064a233c9 (diff)
downloadmu-4ff14e821ee86c40866a1400dc67a4206271b9b5.tar.gz
5160
Diffstat (limited to 'subx/013direct_addressing.cc')
-rw-r--r--subx/013direct_addressing.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/013direct_addressing.cc b/subx/013direct_addressing.cc
index 2914e0dd..3f7d40d6 100644
--- a/subx/013direct_addressing.cc
+++ b/subx/013direct_addressing.cc
@@ -338,7 +338,7 @@ void test_negate_r32() {
   run(
       "== 0x1\n"  // code segment
       // op     ModR/M  SIB   displacement  immediate
-      "  f7 db                                        \n"  // negate EBX
+      "  f7     db                                    \n"  // negate EBX
       // ModR/M in binary: 11 (direct mode) 011 (subop negate) 011 (dest EBX)
   );
   CHECK_TRACE_CONTENTS(
@@ -375,7 +375,7 @@ void test_negate_can_overflow() {
   run(
       "== 0x1\n"  // code segment
       // op     ModR/M  SIB   displacement  immediate
-      "  f7 db                                        \n"  // negate EBX
+      "  f7     db                                    \n"  // negate EBX
       // ModR/M in binary: 11 (direct mode) 011 (subop negate) 011 (dest EBX)
   );
   CHECK_TRACE_CONTENTS(