Mse 1
Mse 1
Mse 1
Max
Que Solve the following CO Level
Marks
a) Define the role of each of the following registers in
brief:
i. MAR
ii. MDR 5 CO1 L1
iii. PC
iv. IR
Q.1
v. General purpose registers
b) Write a program that can evaluate (A+B)* (C+D) using
two address and one address instruction format. Assume
that the processor has Load, Store, Multiply, 5 CO1 L4
and Add instructions, and that all values fit in the
accumulator.
a) Registers R1 and R2 of a computer contain the decimal
values 1200 and 4600. What is the effective address of the
memory operand in each of the following instructions?
Justify your answer.
5 CO1 L3
i. Load 20(R1),R5
Q.2 ii. Move #3000,R5
iii. Store R5,30(R1,R2)
iv. Add −(R2),R5
v. Subtract (R1)+,R5
b) Write and discuss control sequence for execution of
instruction Add (R3), R1 using single bus organization. 5 CO1 L3