Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the following listing to answer questions 21-27. ARM GAS loads page 1 Data Access v3 1 file: loads 2 3 title Data Access v3

image text in transcribed
image text in transcribed
image text in transcribed
Use the following listing to answer questions 21-27. ARM GAS loads page 1 Data Access v3 1 file: loads 2 3 title Data Access v3 4 5 .text 6 global loads 8 load3: OhWN- Idr 18. -SECT Idr r10.[re.#A-DSECT) Idrb rii,[r8,8-DSECT] b data 16 0000 08809FES 11 12 8004 O5A098E5 13 8088 34B3D8E5 14 15 C08C FEFFFFEA 16 17 18 19 20 0000 BBBBBB 21 22 0004 22 23 0065 78563412 24 25 8689 EEEEEEEE 26 27 DSECT: word Oxbbbbbbbb B: .byte Ox22 A: .word Ox12345678 .Word BXCGCC0000 end ARM GAS load3.s Data Access v3 page 2 DEFINED SYMBOLS load3.s:8 Load3.5:19 Load3.s:18 load3.5:23 load3.s:22 load3.s:17 text :00000000 load3 .data:80000000 OSECT .text:10000000 Sa .data:00300005 A data:00308084 B text:60000010 $d NO UNDEFINED SYMBOLS 21. Por location Oxo of the text section, what is the machine instruction? a. Oxbbbbbbbb b. Ox22 c. Ox08809805 21. For location Ox0 of the text section, what is the machine instruction? a. Oxbbbbbbbb b. Ox22 C. Ox08809fe5 d. Oxe5d8a005 e. Oxe59f800B 22. What is the offset (in decimal) from the start of the data section to A? a. 23 b. -4 c. 4 d. 5 e -12 23. What is the value in decimal) of the label B? a. O b. 22 c. 4 d. Ox12345678 .. 0x78563412 24. What is the address in hex) referenced by label A (assuming the data section is at the start of RAM for the F4 board)? a. Ox8000000 b. Ox8000005 c. 0x12345678 d. 0x20000004 e. Ox20000005 25. What is the dath referenced by label B? dah a. Ox12345678 b. 0x78563412 c. 22 d. 34 26. Is there 10 a data alignment problem and if there is, choose the proper assembler directive in the proper place in the listing above to fix it. a. Yes there's a problem, place "align 1" directive right after label w declaration b. Yes there's a problem, place align 2" directive right before label "A" declaration c. Yes there's a problem, place" align 2" directive right before label " declaration d. No problem, so don't need malign" directive. . You there's a problem, place "align 1" directive right after tabel *** declaration 27. Using the convention of association, what is the size of the memory referenced by label az a. 4 bytes b. 1 byte c. 2 bytes d.5 bytes e 16 bita

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

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago