fix register use in putstring
was off by one, the syscall is write and the first arg is file_descriptor ie 1 == stdout
This commit is contained in:
@ -40,6 +40,8 @@ module Risc
|
||||
:r0
|
||||
when :syscall_2
|
||||
:r1
|
||||
when :syscall_3
|
||||
:r2
|
||||
when :saved_message
|
||||
:r14
|
||||
else
|
||||
|
Reference in New Issue
Block a user