about summary refs log tree commit diff stats
path: root/015immediate_addressing.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-12-22 07:41:52 -0800
committerKartik Agaram <vc@akkartik.com>2019-12-22 07:41:52 -0800
commitc357b103d16e29ec0eb15c4a57d3906bb2edaf56 (patch)
tree1d3a4f87584d4bca73bf7c010437ab854ccaf13c /015immediate_addressing.cc
parent075e89d9a010208fe50aab05cc5273d48f278cbf (diff)
downloadmu-c357b103d16e29ec0eb15c4a57d3906bb2edaf56.tar.gz
5818
Diffstat (limited to '015immediate_addressing.cc')
-rw-r--r--015immediate_addressing.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/015immediate_addressing.cc b/015immediate_addressing.cc
index 0ff5726d..c264d5d3 100644
--- a/015immediate_addressing.cc
+++ b/015immediate_addressing.cc
@@ -339,7 +339,7 @@ void test_subtract_imm32_from_mem_at_r32_signed_overflow() {
   CHECK_TRACE_CONTENTS(
       "run: combine r/m32 with imm32\n"
       "run: effective address is 0x00002000 (EBX)\n"
-      "run: effective address contains 80000000\n"
+      "run: effective address contains 0x80000000\n"
       "run: imm32 is 0x7fffffff\n"
       "run: subop subtract\n"
       "run: SF=0; ZF=0; CF=0; OF=1\n"
@@ -360,7 +360,7 @@ void test_subtract_imm32_from_mem_at_r32_unsigned_overflow() {
   CHECK_TRACE_CONTENTS(
       "run: combine r/m32 with imm32\n"
       "run: effective address is 0x00002000 (EBX)\n"
-      "run: effective address contains 0\n"
+      "run: effective address contains 0x00000000\n"
       "run: imm32 is 0x00000001\n"
       "run: subop subtract\n"
       "run: SF=1; ZF=0; CF=1; OF=0\n"
@@ -381,7 +381,7 @@ void test_subtract_imm32_from_mem_at_r32_signed_and_unsigned_overflow() {
   CHECK_TRACE_CONTENTS(
       "run: combine r/m32 with imm32\n"
       "run: effective address is 0x00002000 (EBX)\n"
-      "run: effective address contains 0\n"
+      "run: effective address contains 0x00000000\n"
       "run: imm32 is 0x80000000\n"
       "run: subop subtract\n"
       "run: SF=1; ZF=0; CF=1; OF=1\n"