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.
# from and to are translated (from symbol to register if neccessary)
# but index is left as is.
def self.get_byte source , array , index , to
from = resolve_to_register from
to = resolve_to_register to
GetByte.new( source , array , index , to)
end
# def self.get_byte source , array , index , to
# from = resolve_to_register from
# to = resolve_to_register to
# GetByte.new( source , array , index , to)
# end
end

View File

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