uncomment unused code for now

This commit is contained in:
Torsten Ruger 2016-12-11 12:18:11 +02:00
parent b6fdb51ed1
commit 3715eb94ed
2 changed files with 11 additions and 11 deletions

View File

@ -32,9 +32,9 @@ module Register
# Produce a GetByte instruction. # Produce a GetByte instruction.
# from and to are translated (from symbol to register if neccessary) # from and to are translated (from symbol to register if neccessary)
# but index is left as is. # but index is left as is.
def self.get_byte source , array , index , to # def self.get_byte source , array , index , to
from = resolve_to_register from # from = resolve_to_register from
to = resolve_to_register to # to = resolve_to_register to
GetByte.new( source , array , index , to) # GetByte.new( source , array , index , to)
end # end
end end

View File

@ -29,11 +29,11 @@ module Register
# Produce a SetByte instruction. # Produce a SetByte instruction.
# from and to are translated (from symbol to register if neccessary) # from and to are translated (from symbol to register if neccessary)
# but index is left as is. # but index is left as is.
def self.set_byte source , from , to , index # def self.set_byte source , from , to , index
from = resolve_to_register from # from = resolve_to_register from
index = resolve_index( to , index) # index = resolve_index( to , index)
to = resolve_to_register to # to = resolve_to_register to
SetByte.new( source, from , to , index) # SetByte.new( source, from , to , index)
end # end
end end