Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

116 SECTION 2: UNDERSTANDING CODE The following section will be asking questions about the code in the following table. The instruction Set is defined in

image text in transcribed
image text in transcribed
116 SECTION 2: UNDERSTANDING CODE The following section will be asking questions about the code in the following table. The instruction Set is defined in the table on the last page of this assignment. The Address column represents the Memory Address. The Contents column represents the contents of the memory at the corresponding address. The Mnemonic column provides the "human readable" format of the program. Address Contents Mnemonic 00 901 INP 01 STA 16 02 901 INP 03 215 SUB 15 04 317 STA 17 05 518 06 ADD 16 07 318 STA 18 08 LDA 17 09 215 SUB 15 10 317 STA 17 11 804 BRP 04 12 518 LDA 18 13 902 14 000 HLT 15 001 DAT 01 16 000 DAT 00 17 000 DAT 00 18 000 DAT 00 9. (2pts each) Fill in the missing entry in the empty square at address 01. 10. (2pts each) Fill-in the missing entry in the empty square at address os. 11. (2pts each) Fill-in the missing entry in the empty square at address 08. 12. (2pts each) Fill in the missing entry in the empty square at address 13. 13. (2pts) What four addresses in the program above being used like variables or constants by storing data? 14. (2pts) Describe the steps this program performs. 15. (2pts) What instruction is missing from the LMC instruction set that, if added, would to make calculating this answer easier for the programmer and faster for the computer

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

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions

Question

What are the best practices for managing a large software project?

Answered: 1 week ago

Question

How does clustering in unsupervised learning help in data analysis?

Answered: 1 week ago

Question

1. Explain why evaluation is important.

Answered: 1 week ago