Question: Consider the following ARM assembly program AREA prog, CODE, READONLY ENTRY MOV RO , # 2 5 0 MOV R 1 , # 1 repeat

Consider the following ARM assembly program
AREA prog, CODE, READONLY
ENTRY
MOV RO, #250
MOV R1, #1
repeat ADD R1,R1,R0, ASR#3
TST RO, #1
SUBNE RO, # 61
SUBEQ RO, # 91
CMP RO, #O
BGT repeat
halt B halt
END
What is the value of R0 and R1 after executing the above program (until reaching the "B halt" instruction)?
RO=0x
,R1=0x
How many times is the ADD instruction executed?
 Consider the following ARM assembly program AREA prog, CODE, READONLY ENTRY

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!