about summary refs log tree commit diff stats
path: root/subx/040---tests.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-13 19:59:03 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-13 19:59:03 -0700
commit3cf8a4548fd31d4e6f221bbcc643b365264a649c (patch)
treea323319603c8be9a317191769be3dcfc01146879 /subx/040---tests.cc
parentd3862d2b31fbe950c7c5687ca65edd6a7c13f65f (diff)
parenta5e7292d4d3acc2da0ed3456f04a5c981971ffe4 (diff)
downloadmu-3cf8a4548fd31d4e6f221bbcc643b365264a649c.tar.gz
Merge branch 'master' into dquotes
Diffstat (limited to 'subx/040---tests.cc')
-rw-r--r--subx/040---tests.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/subx/040---tests.cc b/subx/040---tests.cc
index d35cc711..e5949bbd 100644
--- a/subx/040---tests.cc
+++ b/subx/040---tests.cc
@@ -16,7 +16,8 @@ Transform.push_back(create_test_function);
 
 :(code)
 void test_run_test() {
-  Reg[ESP].u = 0x100;
+  Mem.push_back(vma(0xbd000000));  // manually allocate memory
+  Reg[ESP].u = 0xbd000100;
   run(
       "== 0x1\n"  // code segment
       "main:\n"