Answered step by step
Verified Expert Solution
Question
1 Approved Answer
THUMB ENTRY ; note that all three lines have a in front of them Main ldt r0,=smo11;1 - what's in ro now? ldrb r1, [r0]
THUMB ENTRY ; note that all three lines have a in front of them Main ldt r0,=smo11;1 - what's in ro now? ldrb r1, [r0] i2 - what's in r1 now? add r0, \#1 ;3 - what's in r0 now? ldrb r2, [r0] ;4 - what's in x2 now? ldr r0, big is - what's in x0 now? ldr rl,[r0];6 - what's in r1 now? add r0,#1 Idr r2,[x0];7 - what s in x2 now? ;8 - why is this not one of the values in the "big" ; array that was created in the DATA area? ;9 - what could have been done instead of add ro, 1 ; to make that last line load in 0x89ABCDEF? b. big ded 0x01234567, 0x89ABCDEF ; 10 - is this overwriteable? AREA MyData, DATA smol1 dcb 7, "4", 15, 4 ; copying and pasting this line may result in ; an error depending on how the quotation marks iget copied. You may need to retype those. END THUMB ENTRY ; note that all three lines have a in front of them Main ldt r0,=smo11;1 - what's in ro now? ldrb r1, [r0] i2 - what's in r1 now? add r0, \#1 ;3 - what's in r0 now? ldrb r2, [r0] ;4 - what's in x2 now? ldr r0, big is - what's in x0 now? ldr rl,[r0];6 - what's in r1 now? add r0,#1 Idr r2,[x0];7 - what s in x2 now? ;8 - why is this not one of the values in the "big" ; array that was created in the DATA area? ;9 - what could have been done instead of add ro, 1 ; to make that last line load in 0x89ABCDEF? b. big ded 0x01234567, 0x89ABCDEF ; 10 - is this overwriteable? AREA MyData, DATA smol1 dcb 7, "4", 15, 4 ; copying and pasting this line may result in ; an error depending on how the quotation marks iget copied. You may need to retype those. END
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started