Get Byte interpreter test

This commit is contained in:
Torsten Ruger
2016-12-15 22:15:58 +02:00
parent 193278c8c2
commit bc22c40101
3 changed files with 68 additions and 1 deletions

View File

@ -170,7 +170,7 @@ module Register
if object.is_a?(Symbol)
raise "Unsupported action, must convert symbol to word:#{object}"
else
value = object.get_internal_byte( index )
value = object.get_char( index )
end
#value = value.object_id unless value.is_a? Fixnum
set_register( @instruction.register , value )