1. A digital computer has a memory unit with 40 bits per word. The instruction set consists of 210 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.
a. How many bits are needed for the opcode?
b. How many bits are left for the address part of the instruction?
c. What is the maximum allowable size for memory?
d. What is the largest unsigned binary number that can be accommodated in one word of memory?
2. Consider the MARIE program below.
a. List the hexadecimal code for each instruction.
b. Draw the symbol table.
c. What is the value stored in the AC when the program terminates?
Hex |
|
|
Addr |
Label |
Instruction |
100 |
Start, |
Load A |
101 |
|
Add B |
102 |
|
Store Temp |
103 |
|
Load C |
104 |
|
Add D |
105 |
|
Add Temp |
106 |
|
Store F |
107 |
|
Output |
108 |
|
HALT |
109 |
A, |
5-Dec |
10A |
B, |
3-Dec |
10B |
C, |
4-Dec |
10C |
D, |
13-Dec |
10D |
E, |
3-Dec |
10E |
Temp, |
HEX 00FD |
1OF |
F, |
HEX 00FE |
3. Choose one area of rapid technological change in IT or Computer Science research and report on recent developments and the outlook for the future in the area that you have chosen. You will need to provide both in text citations and bibliography entries according to Faculty of Business policy (APA format). Your report should be around 500 words.