named the first intruction constructor argument
This commit is contained in:
@@ -6,15 +6,15 @@ module Arm
|
||||
include Arm::Constants
|
||||
include LogicHelper
|
||||
|
||||
def initialize(attributes)
|
||||
super(attributes)
|
||||
def initialize(left , attributes)
|
||||
super(left , attributes)
|
||||
@attributes[:update_status_flag] = 0 if @attributes[:update_status_flag] == nil
|
||||
@attributes[:condition_code] = :al if @attributes[:condition_code] == nil
|
||||
@attributes[:opcode] = attributes[:opcode]
|
||||
@operand = 0
|
||||
|
||||
@i = 0
|
||||
@rd = @attributes[:left]
|
||||
@rd = @left
|
||||
@rn = :r0 # register zero = zero bit pattern
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user