phase 1- get rid of the pesty args in structions

This commit is contained in:
Torsten Ruger
2014-05-10 15:47:27 +03:00
parent 3f88fe15b4
commit 8faf0ba17f
8 changed files with 20 additions and 25 deletions

View File

@@ -12,16 +12,15 @@ module Arm
@update_status_flag = 0
@condition_code = :al
@opcode = attributes[:opcode]
@args = [attributes[:left] , attributes[:right] , attributes[:extra]]
@operand = 0
@i = 0
@rd = @args[0]
@rd = @attributes[:left]
@rn = :r0 # register zero = zero bit pattern
end
def build
do_build @args[1]
do_build @attributes[:right]
end
end
end