From 5cab242acdb68045e5993b75fc67b54901002072 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Tue, 18 Mar 2025 11:37:26 -0700 Subject: Fix comment printing Minor encoding bugs for large- x86 jumps and arm external call --- chapter21/src/test/java/com/seaofnodes/simple/BrainFuckTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter21/src/test/java') diff --git a/chapter21/src/test/java/com/seaofnodes/simple/BrainFuckTest.java b/chapter21/src/test/java/com/seaofnodes/simple/BrainFuckTest.java index 8b23a0ca..856baac4 100644 --- a/chapter21/src/test/java/com/seaofnodes/simple/BrainFuckTest.java +++ b/chapter21/src/test/java/com/seaofnodes/simple/BrainFuckTest.java @@ -64,7 +64,7 @@ for( int pc = 0; pc < program#; pc++ ) { return output; """; Chapter21Test.testCPU(src,"x86_64_v2", "SystemV",28,null); - Chapter21Test.testCPU(src,"riscv" , "SystemV",14,null); + Chapter21Test.testCPU(src,"riscv" , "SystemV",12,null); Chapter21Test.testCPU(src,"arm" , "SystemV",12,null); //assertEquals("Hello World!\n", Eval2.eval(code, 0, 10000)); } -- cgit v1.2.3