
CE - Basics -Flags
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
JenkinWinston J
Used 37+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the ALU operation used by microprocessor to apply a bitwise mask to a register.
AND with the mask
XOR with 0xFF
OR with 0x00
ADD with the mask
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the bus which carries the address of the next instruction from program counter (PC).
Address bus
Data bus
Control bus
Status flag lines
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Calculate the final content of accumulator (A) and flag registers (S, Z, AC, P, CY) after the execution of the following assembly language program.
MVI A, FF H;
ANI 00 H;
A = 00 H, S = 0, Z = 1, AC = 0, P = 1, CY = 0
A = FF H, S = 1, Z = 1, AC = 0, P = 1, CY = 0
A = F0 H, S = 0, Z = 0, AC = 0, P = 0, CY = 0
A = 0F H, S = 0, Z = 1, AC = 0, P = 0, CY = 0
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Infer the usage of Memory Address Register (MAR) in the given scenario where the CPU must read data from a memory location with address 2000 H.
The CPU places 2000 H into MAR, which is then sent to the address bus
It holds the data read from memory
It sets the next program instruction in the PC
It stores the current stack pointer value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Prioritize the next step in the decode phase where a CPU finished fetching the opcode into the instruction register (IR).
The control unit interprets the opcode, setting up control signals for the next phase (e.g., ALU operation, memory access)
It increments the stack pointer by 1
The CPU discards the opcode
The CPU discards the Instruction Register
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Estimate the status of flag register after execution of the following assembly language program (ALP).
MVI A, 01H ;
DCR A ;
S=0, Z=1, AC=0, P=1, CY=0
S=0, Z=1, AC=1, P=0, CY=1
S=1, Z=1, AC=0, P=0, CY=1
S=0, Z=0, AC=1, P=1, CY=0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Estimate the status of flag register after execution of the following assembly language program (ALP).
MVI A, FFH
MVI B, 01H
ADD B
S=0, Z=1, AC=1, P=1, CY=1
S=1, Z=0, AC=1, P=0, CY=0
S=1, Z=1, AC=0, P=1, CY=1
S=0, Z=0, AC=1, P=0, CY=1
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
STS Informatika
Quiz
•
10th Grade - University
20 questions
Quiz Harian Gdevelop MPK
Quiz
•
University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
20 questions
Digital and Analog transmission
Quiz
•
University
20 questions
Soal AIJ bulan Agustus 2019 kls xii
Quiz
•
University
11 questions
Email of request
Quiz
•
12th Grade - Professi...
12 questions
ロジックテスト (Đề kiểm tra năng lực IT)
Quiz
•
University
20 questions
Fotogrametri dan Penginderaan Jauh
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
