fix putstring and puts

using syscall regs
This commit is contained in:
2020-03-16 17:32:24 +02:00
parent 17a7f29b0c
commit 3ce6ed5263
6 changed files with 45 additions and 46 deletions

View File

@ -75,7 +75,7 @@ module Risc
end
def test_tick_26_exit
# 26.times { @interpreter.tick ;puts @interpreter.instruction.class}
ticks(27)
ticks(26)
assert_equal Syscall , @interpreter.instruction.class
assert_equal :exit , @interpreter.instruction.name
end