From 931b17daa048abbe837fa575e296b08b3d99315b Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 30 Nov 2019 11:14:49 -0800 Subject: 5782 - fix a widespread bug with Heap-size --- apps/crenshaw2-1.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/crenshaw2-1.subx') diff --git a/apps/crenshaw2-1.subx b/apps/crenshaw2-1.subx index d081e290..4c1daa3a 100644 --- a/apps/crenshaw2-1.subx +++ b/apps/crenshaw2-1.subx @@ -38,7 +38,7 @@ Entry: # run tests if necessary, call 'compile' if not # . Heap = new-segment(Heap-size) # . . push args 68/push Heap/imm32 - 68/push Heap-size/imm32 + ff 6/subop/push 0/mod/indirect 5/rm32/.disp32 . . . Heap-size/disp32 # push *Heap-size # . . call e8/call new-segment/disp32 # . . discard args -- cgit 1.4.1-2-gfad0