Assignment #3 Computer Organization: Question No. 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

ASSIGNMENT #3

COMPUTER ORGANIZATION

QUESTION NO. 1

What is the difference between a direct and an indirect address instruction? How many references to memory
are needed for each type of instruction to bring an operand into a processor register?

QUESTION NO. 2

The following control inputs are active in the bus system shown in Fig. 5-4. For each case, specify the register
transfer that will be executed during the next clock transition.

S2 S1 S0 LD of Register Memory Adder


a. 1 1 1 IR Read ---
b. 1 1 0 PC --- ---
c. 1 0 0 DR Write ---
d. 0 0 0 AC --- Add

QUESTION NO. 3

The following register transfers are to be executed in the system of Fig. 5-4. For each transfer, specify: (1) the
binary value that must be applied to bus select inputs S2, S1, and S0; (2) the register whose LD control input
must be active (if any); (3) a memory read or write operation (if needed); and (4) the operation in the adder and
logic circuit (if any).

a. AR PC
b. IR  M[AR]
c. M [AR]  TR
d. AC  DR, DR AC (done simultaneously)

QUESTION NO. 4

Consider the instruction formats of the basic computer shown in Fig. 5-5 and the list of instructions given in
Table 5-2. For each of the following 16-bit instructions, give the equivalent four-digit hexadecimal code and
explain in your words what it is that the instruction is going to perform.

a. 0001 0000 0010 0100


b. 1011 0001 0010 0100
c. 0111 0000 0010 0000
QUESTION NO. 5

Draw a timing diagram similar to Fig. 5-7 assuming that SC is cleared to 0 at time T3 if control signal C7 is
active.

C7T3: SC0

QUESTION NO. 6

The content of AC in the basic computer is hexadecimal A937 and initial value of E is 1. Determine the
contents of AC, E, PC, AR, and IR in hexadecimal after the execution of the CLA instruction. Repeat 11 more
times, starting from each one of register-reference instructions. The initial value of PC is hexadecimal 021.
*****************

You might also like