fix interpreter syscall and rename return reg

returned int for puts was same name as implicit return  int
This commit is contained in:
2020-03-22 14:30:03 +02:00
parent be684c0c43
commit ddd1f4e296
4 changed files with 7 additions and 7 deletions

View File

@ -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