Consider the following memory and registers contents Address

Consider the following memory and registers contents

Address

0x8010          0x00000001           

0x800C         0xFEEDDEAF        

0x8008          0x00008888          

0x8004          0x12340000           

0x8000          0xBABE0000

Registers

           r0   0x13

           r1   0xFFFFFFFF

           r2    0xEEEEEEEE

           r3   0x8000

After executing the instruction LDMIA r3!, {r0,r1,r2}

what is the content of r3?

Solution

r0   0x13

           r1   0xFFFFFFFF

           r2    0xEEEEEEEE

           r3   0x8000

LDMIA r3

r0 into r1

r1 into r2

r2 into r3

0x157879

Consider the following memory and registers contents Address 0x8010 0x00000001 0x800C 0xFEEDDEAF 0x8008 0x00008888 0x8004 0x12340000 0x8000 0xBABE0000 Registers

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site