Fill This Form To Receive Instant Help
Homework answers / question archive / Stevens Institute Of Technology CS 550 Chapter 6 The Little Man Computer Consider this model of the LMC and answer the questions below
Stevens Institute Of Technology
CS 550
Chapter 6 The Little Man Computer
Consider this model of the LMC and answer the questions below.
1)The LOAD instruction copies data from the
|
a) instruction location counter is zero.
b) 106
c) 507
d) 902
Discussion Questions
Mailbox Contents Result after completion
00 |
901 |
Read contents from in basket and store in calculator |
01 |
319 |
|
02 |
901 |
|
03 |
320 |
|
04 |
219 |
|
05 |
709 |
|
06 |
518 |
|
07 |
902 |
|
08 |
000 |
|
09 |
517 |
|
10 |
902 |
|
11 |
000 |
|
17 |
DAT |
|
18 |
DAT |
|
19 |
DAT |
|
20 |
DAT |
|
Mailbox Contents
00 517
01 218
02 902
03 705
04 601
05 000
……………..
00 517 1 2 3 4
01 118
02 317
03 219
04 710
05 600
……………..
|
17 |
1 |
DAT |
18 |
1 |
DAT |
|
|
19 |
5 |
DAT |
Mailbox Contents
00 517
01 218
02 ???
03 317
04 902
05 600
06 000
…………….. 17 10
18 2
Sol: The contents of address 02 should be 706 to loop 4 times.
Mailbox Contents
00 901
01 309
02 207
03 902
04 708
05 602
06 000
07 1
08 000
09 DAT
Mailbox Contents
|
00 |
605 |
01 |
used by other program |
|
02 |
used by other program |
|
03 |
used by other program |
|
04 |
used by other program |
|
05 |
??? |
|
06 |
??? |
|
07 |
??? |
|
08 |
??? |
|
09 |
??? |
|
10 |
??? |
|
11 |
??? |
|
12 |
??? |
|
13 |
??? |
|
14 |
??? |
|
|
|
|