Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 3. Program Tracing and related questions.(10 points) The foll owing assembly language was written using the language given in the textbook and lab t

image text in transcribed

Part 3. Program Tracing and related questions.(10 points) The foll owing assembly language was written using the language given in the textbook and lab t runs correctly. Line numbers are added for you to use when answering the questions Use it to answer the next two questions. below. 1 2. again: load .begin limit value value add store decrement limit load compare zero jumplt again out halt 6. limit 9 10 11. limit: .data 3 12. zero: .data 13. value: .data 14 value .end . For maximum partial credit in case of 1. What is the output of this program? an incorrect answer, use the blank space above to show the changing values for the R register and each variable as you trace its execution. (4 points) 2. Assemblers scan assembly programs from top to bottom to translate them into machine code. One of its duties is to replace a label reference with the address where the label is defined. 2a. On what line is the label "again" defined?-- 2b. On what line is the label "again" referenced? (1 point) --(1 point) ram is assembled, the assembler must scan and translate the program from top translate line 2 and sees the word limit? to bottom. What problem occurs when it attempts to (2 points) 2d. How is this problem solved? (2 points) arned it. I am aware that the total points is 91 not 90. Have a freebie. You've e

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 Publishing With Filemaker Pro On The Web

Authors: Maria Langer

1st Edition

0201696657, 978-0201696653

More Books

Students also viewed these Databases questions