fix add instruction and test

This commit is contained in:
Torsten Ruger
2014-09-29 21:04:38 +03:00
parent ae65952d0a
commit 527e591e75
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ module Arm
right = Virtual::IntegerConstant.new( right )
end
if (right.is_a?(Virtual::IntegerConstant))
if true #TODO (right.fits_u8?)
if (right.fits_u8?)
# no shifting needed
operand = right.integer
immediate = 1