fix frame indexes

This commit is contained in:
Torsten Ruger
2015-06-28 10:50:47 +03:00
parent ef42abe611
commit a00a49ecdb
4 changed files with 16 additions and 5 deletions

View File

@ -18,6 +18,9 @@ module Arm
@immediate = 0
@rn = :r0 # register zero = zero bit pattern
@extra = nil
if @rn.is_a?(Numeric) and !@rn.fits_u8? and !calculate_u8_with_rr(@rn)
@extra = 1
end
end
attr_accessor :to , :from