diff --git a/lib/register/instructions/get_byte.rb b/lib/register/instructions/get_byte.rb index be215567..ef446762 100644 --- a/lib/register/instructions/get_byte.rb +++ b/lib/register/instructions/get_byte.rb @@ -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 diff --git a/lib/register/instructions/set_byte.rb b/lib/register/instructions/set_byte.rb index 936dae54..81641851 100644 --- a/lib/register/instructions/set_byte.rb +++ b/lib/register/instructions/set_byte.rb @@ -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