1. Consider the LMC program below. Write a general description statement (not step-by-step) of what this program does. [2 marks] Address /Mailbox # 10 11 12 13 14 15 16 17 18 19 20 2. Consider the LMC program (LMC Slide # 16) in which 2 numbers are entered and added. Suppose we had stored the first input entry in mailbox location 00. Would the program have produced the same result? What would have happened if the program were executed a second time? What characteristic of the computer makes this true? [2 marks] Mailbox 3. Complete the LMC program below (i.e., insert the missing codes in addresses 13, 18 and 19) so that the program loops 4 times. [6 marks] 11 12 13 14 15 16 17 18 19 Numeric Code 901 319 901 320 519 902 Contents 518 219 520 902 000 000 000 318 902 611 000
1. Consider the LMC program below. Write a general description statement (not step-by-step) of what this program does. [2 marks] Address /Mailbox # 10 11 12 13 14 15 16 17 18 19 20 2. Consider the LMC program (LMC Slide # 16) in which 2 numbers are entered and added. Suppose we had stored the first input entry in mailbox location 00. Would the program have produced the same result? What would have happened if the program were executed a second time? What characteristic of the computer makes this true? [2 marks] Mailbox 3. Complete the LMC program below (i.e., insert the missing codes in addresses 13, 18 and 19) so that the program loops 4 times. [6 marks] 11 12 13 14 15 16 17 18 19 Numeric Code 901 319 901 320 519 902 Contents 518 219 520 902 000 000 000 318 902 611 000
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
100%
The subject is “information Technology”. The topic of the questions are under the little Man Computer .
![1. Consider the LMC program below. Write a general description statement (not step-by-step)
of what this program does. [2 marks]
Address /Mailbox #
10
11
12
13
14
15
16
17
18
19
20
Mailbox
11
12
13
14
15
16
2. Consider the LMC program (LMC Slide # 16) in which 2 numbers are entered and added.
Suppose we had stored the first input entry in mailbox location 00. Would the program have
produced the same result? What would have happened if the program were executed a
second time? What characteristic of the computer makes this true? [2 marks]
17
18
19
Numeric Code
901
319
3. Complete the LMC program below (i.e., insert the missing codes in addresses 13, 18 and 19)
so that the program loops 4 times. [6 marks]
Contents
518
219
901
320
519
902
318
902
611
000
520
902
000
000
000](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F921a5747-deab-4867-996e-a22789796cd9%2Fec93ea4e-b400-475f-981a-5c9bce11ce94%2Fjfkp92_processed.jpeg&w=3840&q=75)
Transcribed Image Text:1. Consider the LMC program below. Write a general description statement (not step-by-step)
of what this program does. [2 marks]
Address /Mailbox #
10
11
12
13
14
15
16
17
18
19
20
Mailbox
11
12
13
14
15
16
2. Consider the LMC program (LMC Slide # 16) in which 2 numbers are entered and added.
Suppose we had stored the first input entry in mailbox location 00. Would the program have
produced the same result? What would have happened if the program were executed a
second time? What characteristic of the computer makes this true? [2 marks]
17
18
19
Numeric Code
901
319
3. Complete the LMC program below (i.e., insert the missing codes in addresses 13, 18 and 19)
so that the program loops 4 times. [6 marks]
Contents
518
219
901
320
519
902
318
902
611
000
520
902
000
000
000

Transcribed Image Text:Apply the LMC instruction set below to answer relevant questions.
LMC Instruction Set Instruction
Load
Store
Add
Subtract
Input
Output
End
Branch/Jump Unconditionally
Branch if zero
Branch if zero or positive
Data storage
Mnemonic
LDA
STO
ADD
SUB
IN
OUT
HLT
BR
BRZ
BRP
DAT
Numeric Code
5xx
3xx
1xx
2xx
901
902
000
6xx
7xx
8xx
XXX
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 1 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY