Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Ql: ARM 7-program analysis. Analyze the program manually and find the value of the output. (Total 20 points) (Note: Use separate answer sheets to answer

image text in transcribed
Ql: ARM 7-program analysis. Analyze the program manually and find the value of the output. (Total 20 points) (Note: Use separate answer sheets to answer this question) QIA: (6 Points) start LDR R2,-0x00000E44 LDR R3,-0x32A84FE6 LDR R4.-0x00000000 LDR R5.-0xF4E00322 ADDS RO, R3 R5 ADC Ri R2. R4 stop B stop Q1B: (6 Points) Start MOV MOV ADD RSB R1, #5 ro, r1, LSL #3 ro, r1, r1, LSL #3 ro, r1, r1, LSL #3 Stop BStop Q1C: (12 Points) ENTRY LDR R1, N LDR R2, POINTER MOV R0, #0 R3,R2], #4 R3, #5 RO, RO, R3 R1,R1, #1 LOOP R4,-0x40000000 RO, [R4] STOP LOOP LDR ADDGT SUBS BGT LDR STR STOP B N DCD 7 POINTER DCD NUM1 NUM1 DCD 3, -5, 8,-2, 9, 3, 12, 15, 17,-3, 10, 14 END

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions