Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following code tries to compute a result. Where are variables 'a' and 'b'? explain Dmains Startups AREA Test_Instructions, CODE, READONLY EXPORT main THUMB ALIGN

The following code tries to compute a result.

Where are variables 'a' and 'b'? explain

image text in transcribed

Dmains Startups AREA Test_Instructions, CODE, READONLY EXPORT main THUMB ALIGN ENTRY ; Mark first main PROC LDR R1, =a LDR R2, (R1] LDR R3, =b LDR R4, [R3] ADDS R5, R2, R4 LDR R6, =c STR R5, [R6] 15 stop B stop ENDP 20 AREA Test_Data, DATA, READONLY ALIGN 22 a DCD 2 23 b DCD 1 NNNNNNNNNM AREA Result_Data, DATA, READWRITE ALIGN 27 C SPACE O END Oo Dmains Startups AREA Test_Instructions, CODE, READONLY EXPORT main THUMB ALIGN ENTRY ; Mark first main PROC LDR R1, =a LDR R2, (R1] LDR R3, =b LDR R4, [R3] ADDS R5, R2, R4 LDR R6, =c STR R5, [R6] 15 stop B stop ENDP 20 AREA Test_Data, DATA, READONLY ALIGN 22 a DCD 2 23 b DCD 1 NNNNNNNNNM AREA Result_Data, DATA, READWRITE ALIGN 27 C SPACE O END Oo

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

Recommended Textbook for

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions

Question

2. What are the different types of networks?

Answered: 1 week ago