
CE - Basics -Flags

Quiz
•
Computers
•
University
•
Medium
JenkinWinston J
Used 37+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
UAV Drones

Quiz
•
University
20 questions
Computer Architecture

Quiz
•
University
10 questions
JUEGO DE PREGUNTAS DE CONOCIMIENTOS EN IT ESSENTIALS

Quiz
•
University
10 questions
Basics Of C Programming

Quiz
•
University
17 questions
Python Loops

Quiz
•
University
12 questions
Get Logik (Sains Komputer)

Quiz
•
11th Grade - Professi...
10 questions
Quizizz_Chapter1_10Qs3

Quiz
•
University
10 questions
Wi-Fi

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University