uncomment unused code for now
This commit is contained in:
parent
b6fdb51ed1
commit
3715eb94ed
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user