Question: For the following questions use the program provided above. Please show how you get the answer. 1. What value will be in R1 after executing

 For the following questions use the program provided above. Please show

For the following questions use the program provided above. Please show how you get the answer.

1. What value will be in R1 after executing the LEA instruction?

a)0x3001 b)0x300A c)0x3012 d)0x300C e)None / All of the above

2. What is stored in the memory location associated with label A after loading?

a)decimal 15 b)0x0015 c)decimal 21 d)0x000F e)None / All of the above

3. What is the address associated with label C?

a)0x3009 b)0x300A c)0x300C d)0x3012 e)None / All of the above

4. What is the address associated with label D?

a)0x300A b)0x3010 c)0x3011 d)0x300B e)None / All of the above

5. What value is stored in memory location 3002 after loading?

a)0xE20A b)0x1283 c)0x3012 d)0x300B e)Cant tell.

6. What value is stored in memory location 3009 after loading?

a)0x0000 b)The ASCII code for e c)0x0005 d)0x3007 e)Cant tell.

.orig 03000 LDI RO, A LEA RI, C ADO RI,R2,R3 OUT BRZP2 HALT - fill 015 . blkw 5 - stringz "Tes - fill ox 300

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!