diff --git a/lib/register/instructions/byte_to_reg.rb b/lib/register/instructions/byte_to_reg.rb index b017af14..5cb8ff43 100644 --- a/lib/register/instructions/byte_to_reg.rb +++ b/lib/register/instructions/byte_to_reg.rb @@ -7,15 +7,6 @@ module Register class ByteToReg < Getter - # If you had a c array (of int8) and index offset - # the instruction would do register = array[index] - # The arguments are in the order that makes sense for the Instruction name - # So SlotToReg means the slot (array and index) moves to the register (last argument) - # def initialize source , array , index , register - # super - # end - # attr_accessor :array , :index , :register - end # Produce a ByteToReg instruction. diff --git a/lib/register/instructions/reg_to_slot.rb b/lib/register/instructions/reg_to_slot.rb index bb486b1f..1cd72afc 100644 --- a/lib/register/instructions/reg_to_slot.rb +++ b/lib/register/instructions/reg_to_slot.rb @@ -11,15 +11,6 @@ module Register class RegToSlot < Setter - # If you had a c array and index offset - # the instruction would do array[index] = register - # So RegToSlot means the register (first argument) moves to the slot (array and index) - - # def initialize source , register , array , index - # super - # end - # attr_accessor :register , :array , :index - end # Produce a RegToSlot instruction. diff --git a/lib/register/instructions/slot_to_reg.rb b/lib/register/instructions/slot_to_reg.rb index 19d0a226..6c1bc3c5 100644 --- a/lib/register/instructions/slot_to_reg.rb +++ b/lib/register/instructions/slot_to_reg.rb @@ -11,15 +11,6 @@ module Register class SlotToReg < Getter - # If you had a c array and index offset - # the instruction would do register = array[index] - # The arguments are in the order that makes sense for the Instruction name - # So SlotToReg means the slot (array and index) moves to the register (last argument) - # def initialize source , array , index , register - # super - # end - # attr_accessor :array , :index , :register - end # Produce a SlotToReg instruction.