fixed arm tests to use ArmMachine

This commit is contained in:
Torsten Ruger
2014-05-07 14:58:38 +03:00
parent 4135c4d2dc
commit ee864fc602
6 changed files with 63 additions and 62 deletions

View File

@@ -22,12 +22,12 @@ module Arm
4
end
def initialize(options)
super(options)
def initialize(attributes)
super(attributes)
@update_status_flag = 0
@condition_code = :al
@opcode = options[:opcode]
@args = [options[:left] , options[:right] , options[:extra]]
@opcode = attributes[:opcode]
@args = [attributes[:left] , attributes[:right] , attributes[:extra]]
@operand = 0
end