move message to stack_pointer

changing a bunch of register names
some of which get names now
This commit is contained in:
2020-03-22 11:29:56 +02:00
parent a93a3c8af5
commit be684c0c43
17 changed files with 78 additions and 68 deletions

View File

@ -45,6 +45,10 @@ module Risc
@string_input = as_main("return 5")
super
end
def test_mapping
assert_equal :r0 , @interpreter.std_reg(:syscall_1)
assert_equal :r13 , @interpreter.std_reg(:message)
end
def test_tick1
assert_equal 2 , @interpreter.tick
end