RD3804A15 Com Arch 2
RD3804A15 Com Arch 2
RD3804A15 Com Arch 2
ANSWER:
B3 A3 B2 A2 B1 A 1 B0 A0 B=1
M
M=0
M=1
C3 C2 C1 C0
FA FA FA FA
C4 S3 S2 S1 S0
Q2. Register A holds the 8 bit binary 11011001. Determine the B operand and the logic
micro operations to be performed in order to change the value in A to
ANSWER:
the requirement is the b’s operand. With the help of the givenoutput and the a’s value. The
output is -01101101,
a’s value-- 11011001
a(+)b -- 01101101
the b’s input is put. 10110100 then we get 11111101 by using the or operation we can get the
required output
a -- 11011001
b --00100100
A or B 11111101
Q3. Starting from initial value of R=11011101, determine the sequence of binary values in
R after a logic shift left followed by circular shift right, followed by a logical shift right and
a circular shift
ANSWER:
PART-B
Q4. Determine the micro operation that will be executed in the processor when following 14
bit control words are applies
(a) 00101001100101
(b) 00000000000000
ANSWER:
(a) 00101001100101:
r1 r2 r3 sub
(b) 00000000000000:
microoperation:
output input
(a) A*B+C*D+E*F
(b) A*B+A*(B*D+C*E)
(c) A+B*[C*D+E*(F+G)]
(d) A*[B+C*(D+E)]
F*(G+H)
ANSWER:
A*B+C*D+E*F
A*B+C*D+EF*
A*B+C*DEF*+
A*B+CD*EF*+
AB*CD*EF*++
A*B+A*(B*D+C*E)
A*B+A*(BD*CE*+)
A*B+A(BD*CE*+)*
AB*A(BD*CE*+)*+
AB*ABD*ACE*+*+
A + B* [ C * D + E * ( F + G )]
A +B *[C * D + E * F G + ]
A + B * [ C D * + E * F G +]
FG+E*CD*+B*A+
A*[B+C*(D+E)]
F*(G+H))
A*[B+C*(D+ E)]FGH+*/
A*[B+ CD E+*]FGH+*/
ABCDE +*+*FGH+*/
ANSWER:
ABCDE+*-/
ABCD+E *-/
ABC*D+E-/
A B – C * ( D + E) /
A/B–C*(D+E)
ABC*/D -EF/+
AB*C/D–EF/+
A/B*CD–EF/+
A / (B * C – D) E F / +
A / (B * C – D) E / F +
A / (B * C) – D + E / F