rename set_slot
set_slot was clear about the target, but not the source. Better with reg_to_slot (and soon it’s inverse slot_to_reg)
This commit is contained in:
@ -144,7 +144,7 @@ module Register
|
||||
true
|
||||
end
|
||||
|
||||
def execute_SetSlot
|
||||
def execute_RegToSlot
|
||||
value = get_register( @instruction.register )
|
||||
object = get_register( @instruction.array )
|
||||
if( @instruction.index.is_a?(Numeric) )
|
||||
|
Reference in New Issue
Block a user