introduce load_data instruction
which just loads data to a register (used internally) as opposed to integers, which are objects
This commit is contained in:
@ -125,6 +125,7 @@ module Risc
|
||||
set_register( to , value )
|
||||
true
|
||||
end
|
||||
alias :execute_LoadData :execute_LoadConstant
|
||||
|
||||
def execute_SlotToReg
|
||||
object = get_register( @instruction.array )
|
||||
|
Reference in New Issue
Block a user