Question: For the assembly code given below, indicate the value of eoch register shawn after the instruction. Assume that there cre the following four variobles: vorl

For the assembly code given below, indicate the value of eoch register shawn after the instruction. Assume that there cre the following four variobles:
vorl at acdaress location oxco00000 and has an initial volue of 0x2; var2 at address location 0xc000004 and has an initial volue of 04; var3 of address location 0x2000008 and has an initial volue of 0x6; var 4 at adaress location ax200000C and has an initial value of 03. USE ONLY HEX NUMBEES WITH (OX) PREFIX DO NOT INCLUDELEADING IEROS IN HEX FORMAT AND ENSURE THAT THERE IS ONLY NON-ZERO DIGT DIRECTLY AFTER 'Ox
For example : if the ansever is 002 do not enter 00002
Progam1
MOVR1,=0200,R1=
LSLR1,-=16,R1=
ORR R1,=OX4 R1=
][4
MOV RO,=08,RO=
CMP RO, R2
BLT skipl / Hranch if 20 is less than R2%
ADORO,=Ox4,RO=
B skip2
skip1
ADOR1,80
R1=
STR RO,[R1]
BxLR
/THE END//
skip2
STR R2,[R1]
BX LQ
/THE END /
After the above code executes, what are the values of the following variables
yor1=O2
yar2=
vor3=
yor 4=
 For the assembly code given below, indicate the value of eoch

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!