fix interpreter syscall and rename return reg
returned int for puts was same name as implicit return int
This commit is contained in:
@ -270,7 +270,7 @@ module Risc
|
||||
else
|
||||
raise "un-implemented syscall #{name}"
|
||||
end
|
||||
set_register( :syscall_1 , ret_value ) # syscalls return into syscall_1
|
||||
set_register( std_reg(:syscall_1) , ret_value ) # syscalls return into syscall_1
|
||||
true
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user