fix putstring and puts
using syscall regs
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user