1. Find the results and values of NZVC code bits in the PSR register after performing the addition of two 8-bit registers A and B:
I) A = 100 and B = 46
II) A = 101 and B = 155
2. If the current ARM processor running configuration shown in the figure, what are the values at registers R2 and R3 after execution of the following instructions?
a. LDRB R2, [RO]
b. LDRH R3, [R1]
RO = 0x20000000
R1 = 0x20000002
0x20000000 |
0x13 |
0x20000001 |
0x24 |
0x20000002 |
Ox3A |
0x20000003 |
0x51 |
0x20000004 |
0x02 |
0x20000005 |
0x98 |
Memory