a. Obtain the address symbol table generated for the program of Table 6-13 during the first pass
Question:
a. Obtain the address symbol table generated for the program of Table 6-13 during the first pass of the assembler.
b. List the translated program in hexadecimal.
Table 6-13
Transcribed Image Text:
Line 1 2 3 4 5 56 6 7 8 10 11 12 13 14 15 16 17 18 19 TABLE 6-13 Symbolic Program to Add 100 Numbers 118 119 LOP, ADS, PTR, 15 NBR, CTR, SUM, ORG 100 LDA ADS STA PTR LDA NBR STA CTR CLA ADD PTR I ISZ PTR ISZ CTR BUN LOP STA SUM HLT HEX 150 HEX 0 DEC -100 HEX 0 HEX 0 ORG 150 DEC 75 DEC 23 END /Origin of program is HEX 100 Load first address of operands /Store in pointer /Load minus 100 /Store in counter /Clear accumulator /Add an operand to AC Increment pointer Increment counter /Repeat loop again /Store sum /Halt /First address of operands This location reserved for a pointer /Constant to initialized counter This location reserved for a counter /Sum is stored here /Origin of operands is HEX 150 /First operand /Last operand /End of symbolic program
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 33% (3 reviews)
Based on your question you are working with an assembly language program and you want to generate the address symbol table from the first pass of the ...View the full answer
Answered By
Utsab mitra
I have the expertise to deliver these subjects to college and higher-level students. The services would involve only solving assignments, homework help, and others.
I have experience in delivering these subjects for the last 6 years on a freelancing basis in different companies around the globe. I am CMA certified and CGMA UK. I have professional experience of 18 years in the industry involved in the manufacturing company and IT implementation experience of over 12 years.
I have delivered this help to students effortlessly, which is essential to give the students a good grade in their studies.
3.50+
2+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
a. Explain in words what the following program accomplishes when it is executed. What is the value of location CTR when the computer halts? b. List the address symbol table obtained during the first...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-6. On December 12, Irene purchased the building where her store is located. She paid...
-
Refer to all of the facts in Problem 12-6. Required 1. Using the format in the chapters appendix, prepare a statement of cash flows work sheet. 2. Prepare a statement of cash flows for 2014 using the...
-
Using the stock prices in the previous problem, calculate the exponential three-month moving average for both stocks where two-thirds of the average weight is placed on the most recent price.
-
Yanni, who is single, provides you with the following information for 2017. Salary ........................................................... $80,000 State income taxes...
-
Smart Phones Pty Ltd produces mobile phones. The company prepared the following budgeted income statement. The director, Thomas Smith, wants to use this income statement as the basis for projecting...
-
The Stearns Company uses a voucher system and records invoices at gross. Record the following transactions in the voucher register and/or check register as appropriate: 201X Dec. 1 Voucher no. 400...
-
Would others view you as an ethical leader? Please explain what traits you possess or behaviors you demonstrate (or the lack of) to support your reasoning of being an ethical leader. Please provide...
-
Can the letter I be used as a symbolic address in the assembly language program defined for the basic computer? Justify the answer.
-
List the assembly language program (of the equivalent binary instructions) generated by a compiler from the following Fortran program. Assume integer variables. SUM = 0 SUM = SUM + A + B DIF = DIF -...
-
The owner of Web City is trying to decide whether to remain a proprietorship or to incorporate. Suppose that the corporate tax rate on profits is 20 percent and the personal income tax rate is 30...
-
Why was the problem of capital flight so serious in some highly indebted countries? What causes capital flight, and what do you think can be done about it?
-
Are rapid economic growth (as measured by either GNI or per capita GNI) and a more equal distribution of personal income necessarily conflicting objectives? Summarize the arguments both for and...
-
What are the main ideas of environmental accounting? If practiced, what effects would you expect to see?
-
There appears to be widespread agreement that in regions where the distribution of land ownership is highly unequal (mainly Latin America but also parts of Asia), land reform is a necessary but not...
-
What steps might governments in less developed countries take to reduce overexploitation of natural resources? What impact do pricing policies have?
-
Given the following information, construct the firms balance sheet: Cash and cash equivalents..............$ 300,000 Accumulated depreciation on plant and equipment....800,000 Plant and...
-
1. Using the information from Problem 16-4B, prepare a statement of cash flows for Lim Garden Supplies Inc. using the direct method of presenting cash flows from operating activities. 2. How does Lim...
-
Explain why the plot of the function n c is a straight line with slope c on a log-log scale.
-
What is the sum of all the even numbers from 0 to 2n, for any integer n 1?
-
Show that the following two statements are equivalent: (a) The running time of algorithm A is always O(f (n)). (b) In the worst case, the running time of algorithm A is O(f (n)).
-
The following information relates to production activities of Mercer Manufacturing for the year. Actual direct materials used Actual direct labor used Actual units produced Standard quantity and...
-
Reimbursement Rates Blue Cross Highmark $20 $35 per visit per visit Variable Costs Resource Inputs Labor 48,000 total hours Supplies 65,000 total units Resource Input Prices Labor $25.00 per hour...
-
Required: Hemming uses a perpetual inventory system. 1. Determine the costs assigned to ending inventory and to cost of goods sold using FIFO. 2. Determine the costs assigned to ending inventory and...
Study smarter with the SolutionInn App