A Place for Latest Exam wise Questions, Videos, Previous Year Papers, Study Stuff for MCA Examinations - NIMCET
Previous Year Question (PYQs)
1
Given below are two statements:Statement I: Consider $20$ bit 'Branch' microinstruction code format given below:
F1
F2
F3
CD
BR
AD
$3$ bits
$3$ bits
$3$ bits
$2$ bits
$2$ bits
$7$ bits
$F1,F2,F3$: Micro-operation fields$CD$: Condition for branching$BR$: Branch field$AD$: Address fieldStatement II: Instruction represented in above format can perform branch in $4$ conditions.In the light of the above statements, choose the most appropriate answer from the options given below:
Solution
Statement I gives the format of a branch microinstruction.
The total number of bits in the format is:
$3+3+3+2+2+7=20$
So, the given format is a $20$ bit microinstruction format.
Therefore, Statement I is correct.
Now check Statement II.
The field $CD$ is used for condition selection in branching.
Size of $CD$ field is:
$2$ bits
With $2$ bits, the number of possible conditions is:
$2^2=4$
So, the instruction represented in this format can perform branching based on $4$ possible conditions.
Therefore, Statement II is also correct.
Hence, both Statement I and Statement II are correct.
Online Test Series, Information About Examination, Syllabus, Notification and More.