about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-11-18 08:18:12 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-18 08:18:12 -0800
commit69c0648e844500cae55c1b3c9d4e49b78faaa6b6 (patch)
treef47e677dfe7cc4d3394848ccad2d40ab0a40ae09
parentb31455f81d8b7cecd66f577a0ce545dfe66d705b (diff)
downloadmu-69c0648e844500cae55c1b3c9d4e49b78faaa6b6.tar.gz
4748
Fix CI.
-rw-r--r--subx/013direct_addressing.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/013direct_addressing.cc b/subx/013direct_addressing.cc
index 8cf033bd..8d9f0555 100644
--- a/subx/013direct_addressing.cc
+++ b/subx/013direct_addressing.cc
@@ -598,9 +598,9 @@ put_new(Name, "5e", "pop top of stack to ESI (pop)");
 put_new(Name, "5f", "pop top of stack to EDI (pop)");
 
 :(scenario pop_r32)
-% Reg[ESP].u = 0x2000;
-% Mem.push_back(vma(0x2000));  // manually allocate memory
-% write_mem_i32(0x2000, 0x0000000a);  // ..before this write
+% Reg[ESP].u = 0x02000000;
+% Mem.push_back(vma(0x02000000));  // manually allocate memory
+% write_mem_i32(0x02000000, 0x0000000a);  // ..before this write
 == 0x1  # code segment
 # op  ModR/M  SIB   displacement  immediate
   5b                                          # pop stack to EBX
@@ -608,7 +608,7 @@ put_new(Name, "5f", "pop top of stack to EDI (pop)");
 0a 00 00 00  # 0x0a
 +run: pop into EBX
 +run: popping value 0x0000000a
-+run: incrementing ESP to 0x00002004
++run: incrementing ESP to 0x02000004
 
 :(before "End Single-Byte Opcodes")
 case 0x58: