Question: a) MOV r2 , #0 CMP rO, rl BGE ELSE DONE MOV r2, #2 ELSE: DONE: b) MOV r2, #0 CMP r0, rl BLO ELSE
a) MOV r2 , #0 CMP rO, rl BGE ELSE DONE MOV r2, #2 ELSE: DONE: b) MOV r2, #0 CMP r0, rl BLO ELSE B DONE MOV r2, #2 ELSE: DONE: 2.16.3 Rewrite the above code using "conditional instructions" of ARM. Example: converting from conditional branch to conditional instruction: Conditional Brancih BNE over LSL r0, r0 , #24 ADD r0, r0, #2 Conditional Instruction LSLEQ r0 , r0 , #24 ADDEQ ro, ro, #2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
