Chapter 2 Flashcards

1
Q

What is the function of the Clock in a CPU?

A

Synchronizes operations

The clock ensures that all components of the CPU operate in a coordinated manner.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are Registers in the context of CPU architecture?

A

Small storage for fast data manipulation

Registers allow quick access to frequently used data during processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the role of the Control Unit (CU) in a CPU?

A

Manages execution of instructions

The CU directs the operation of the processor and coordinates the activities of all other components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does the Arithmetic Logic Unit (ALU) do?

A

Performs arithmetic and logic operations

The ALU is responsible for carrying out all mathematical computations and logical operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What type of memory is RAM?

A

Volatile memory, temporary storage

RAM loses its content when power is turned off.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does Cache memory compare to RAM?

A

Faster than RAM, stores frequently used data

Cache reduces the time required to access data from the main memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of BIOS?

A

Firmware that initializes hardware on boot

BIOS performs the POST (Power-On Self-Test) to check hardware functionality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is ROM?

A

Read-only memory, non-volatile

ROM retains its contents even when the power is turned off.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the function of the Data Bus?

A

Transfers data between CPU and memory

The data bus carries the actual data being processed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does the Address Bus do?

A

Holds memory addresses for data retrieval

The address bus specifies the memory locations to read from or write to.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the role of the Control Bus?

A

Coordinates CPU and memory interactions

The control bus carries control signals to manage operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the first step in the Instruction Execution Cycle?

A

Fetch: Retrieve instruction from memory

This step involves accessing the instruction stored in memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What occurs during the Decode step of the Instruction Execution Cycle?

A

Identify instruction and operands

The CPU interprets the fetched instruction to determine what actions to take.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is meant by Fetch Operands in the Instruction Execution Cycle?

A

Gather necessary data

This step involves retrieving any data needed to execute the instruction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What happens during the Execute step of the Instruction Execution Cycle?

A

Perform operation

The CPU carries out the specified instruction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the final step of the Instruction Execution Cycle?

A

Store Output: Save results

This step involves writing the results of the operation back to memory or registers.

17
Q

What is Protected Mode?

A

Used in modern OS, prevents memory access violations

Protected mode enhances system stability and security by restricting access to memory.

18
Q

What is Real-Address Mode?

A

Legacy mode, direct memory access

Real-address mode is used in older operating systems and allows direct access to physical memory.

19
Q

What does System Management Mode (SMM) do?

A

Used for power management

SMM allows the processor to manage power consumption and thermal conditions.

20
Q

Name the general-purpose registers in the x86 architecture.

A
  • EAX
  • EBX
  • ECX
  • EDX

These registers are used for various purposes during instruction execution.

21
Q

What are the Index and Base registers in the x86 architecture?

A
  • ESI
  • EDI
  • EBP

These registers are used for addressing and data manipulation.

22
Q

What is the function of the Instruction Pointer (EIP)?

A

Holds address of next instruction

The EIP is crucial for tracking the sequence of instruction execution.

23
Q

What does the Carry Flag (CF) indicate?

A

Unsigned overflow

CF is set when an arithmetic operation generates a carry out of the most significant bit.

24
Q

What does the Overflow Flag (OF) indicate?

A

Signed overflow

OF is set when an arithmetic operation results in a value that exceeds the limits of a signed integer.

25
Q

What does the Sign Flag (SF) indicate?

A

Negative result

SF is set when the result of an operation is negative.

26
Q

What does the Zero Flag (ZF) indicate?

A

Zero result

ZF is set when the result of an operation is zero.