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