give arm own instruction base class back

This commit is contained in:
Torsten Ruger
2018-03-26 20:04:39 +03:00
parent 4a26bec0f1
commit c5b3c3f106
8 changed files with 45 additions and 21 deletions

View File

@ -1,9 +1,7 @@
module Arm
class MoveInstruction < Risc::Instruction
include Constants
include Attributed
class MoveInstruction < Instruction
def initialize to , from , options = {}
def initialize( to , from , options = {})
super(nil)
@attributes = options
if( from.is_a?(Symbol) and Risc::RiscValue.look_like_reg(from) )