1 year ago

#339773

test-img

user18591273

Check whether a number falls within 32/bit range in ADD operation is ARM

How can I check whether the NBC number falls within 32-bit range after an operation ADD RO,RO,R1, LSL#1

I have read that it can be tested with a C flag which determines whether there is an overflow in such operation but I am not entirely sure how to set the "if" condition, e.g. if there has been overflow I should remove the value from the register and write something else inside it.

arm

branch

flags

carryflag

0 Answers

Your Answer

Accepted video resources