Computer System Architecture MCQ - Central Processing Unit

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.
Hardwired control is the fastest. Since horizontal microprogramming involves lesser number of instructions, it is faster than vertical microprogramming.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption A
Rate difficulty Rate difficulty:
Choose a difficulty.
Control memory processor has 26 bit microinstruction divided into three field microoperation field is 13.
So, next address field (X) = 10
MAX select field = 3
Size of control = 210 = 1024
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Consider the following assembly language program for a hypothetical processor. A, B and C are 8 bit registers. The meanings of various instructions are shown as comments.
MOV B, # 0 ; B ⇽ 0
MOV C, # 8 ; C ⇽ 8
Z : CMP C, # 0 ; Compare C with 0
JZ X ; Jump to X if 0 flag is set
SUB C, # 1 ; C ⇽ C – 1
RRC A, # 1 ; Rotate right A through carry by one bit
JC Y ; Jump to Y if any carry flag is set
JMP Z ; Jump to Z
Y : ADD B, # 1 ; B ⇽ B + 1
JMP Z ; Jump to Z
X
Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.
Share this question
Share:
The value of B after execution of the program is number of 1 bits in A0 because Jump is occur only when carry flag is set to 1.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Consider the following assembly language program for a hypothetical processor. A, B and C are 8 bit registers. The meanings of various instructions are shown as comments.
MOV B, # 0 ; B ⇽ 0
MOV C, # 8 ; C ⇽ 8
Z : CMP C, # 0 ; Compare C with 0
JZ X ; Jump to X if 0 flag is set
SUB C, # 1 ; C ⇽ C – 1
RRC A, # 1 ; Rotate right A through carry by one bit
JC Y ; Jump to Y if any carry flag is set
JMP Z ; Jump to Z
Y : ADD B, # 1 ; B ⇽ B + 1
JMP Z ; Jump to Z
X
Correct AnswerOption A
Rate difficulty Rate difficulty:
Choose a difficulty.
X : RRC A, # 1 then the value of A is same as its actual value.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.
central-processing
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Why Practice with Avatto?
High Quality MCQsExam-focused questions with accurate answers
Detailed ExplanationsStep-by-step explanations to enhance learning
Latest Exam PatternBased on updated syllabus and pattern
Performance AnalyticsTrack performance and improve weak areas
100% Free PracticePractice unlimited questions for free