CE - Basics -Flags

CE - Basics -Flags

University

15 Qs

quiz-placeholder

Similar activities

Bài tập trắc nghiệm C++(tiếp)

Bài tập trắc nghiệm C++(tiếp)

3rd Grade - University

10 Qs

Basic Excel

Basic Excel

University

15 Qs

YAY! Fridate with ComSSA (Network 101)

YAY! Fridate with ComSSA (Network 101)

University

20 Qs

Tutorium 1 - Prog2

Tutorium 1 - Prog2

University

11 Qs

Bridge course with C

Bridge course with C

University

20 Qs

MOTD 2 DSE-C

MOTD 2 DSE-C

University

20 Qs

computer Networks

computer Networks

University

10 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

CE - Basics -Flags

CE - Basics -Flags

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

JenkinWinston J

Used 37+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers