Module 1 Flashcards

1
Q

What are registers in a computer system?

A

Very fast computer memory used to store data/instruction.

Registers consist of a group of flip-flops and gates.

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

What do special purpose registers (SPR) hold?

A

Program state, including:
* Program counter (instruction pointer)
* Stack pointer
* Status register (aka processor status word)

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

What is the function of general purpose registers?

A

Hold temporary data while performing different operations, e.g., Accumulator.

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

What is a register file?

A

An array of processor registers in a CPU that hold data and addresses.

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

What is register banking?

A

A method of using a single name to access multiple different physical registers depending on the operating mode.

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

What steps are involved in typical operations with registers?

A
  1. Read operand from memory into MDR
  2. Transfer from MDR to ALU
  3. Store result in memory if needed
  4. Increment PC to point to next instruction.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the role of the bus in a computer system?

A

A communication pathway connecting two or more devices.

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

What are the three functional groups of bus lines?

A
  • Data lines
  • Address lines
  • Control lines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the address bus?

A

Carries memory addresses from the processor to other components and is unidirectional.

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

What is the data bus?

A

Carries data between the processor and other components and is bidirectional.

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

What is the control bus?

A

Carries control signals from the processor to other components and is unidirectional.

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

What are the four essential registers for instruction execution?

A
  • Program counter (PC)
  • Instruction register (IR)
  • Memory address register (MAR)
  • Memory buffer register (MBR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does the Program Counter (PC) do?

A

Contains the address of the next instruction to be fetched.

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

What is the function of the Instruction Register (IR)?

A

Holds the instruction currently being executed or decoded.

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

What is the Memory Address Register (MAR)?

A

Stores the memory address of an instruction and is connected to the Address Bus.

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

What does the Memory Buffer Register (MBR) do?

A

Stores data and contains a copy of the value in the memory location specified by the MAR.

17
Q

What are the four special segment registers?

A
  • Code Segment (cs)
  • Data Segment (ds)
  • Extra Segment (es)
  • Stack Segment (ss)
18
Q

What is a status register?

A

A collection of status flag bits for a processor.

19
Q

What are common fields or flags in a status register?

A
  • Sign
  • Zero
  • Carry
  • Overflow
  • Direction
  • Interrupt Enable/Disable
20
Q

What is the function of the Control Register?

A

Changes or controls the general behavior of a CPU or other services in the system.

21
Q

What is a shift register?

A

A sequential logic circuit that can store and transfer data, made up of flip-flops.

22
Q

What are the types of shift registers?

A
  • Serial in - Serial out
  • Serial in - Parallel Out
  • Parallel in - Serial Out
  • Parallel in - Parallel Out
  • Bidirectional Shift Register
  • Counters
23
Q

What does the Stack Pointer (SP) register indicate?

A

The location of the last item put onto the stack.

24
Q

What are general purpose registers in the 8085 microprocessor?

A

Six registers (B, C, D, E, H, L) used to store 8-bit data and can be combined as register pairs.

25
Q

What is the Accumulator in a microprocessor?

A

An 8-bit register that stores the result of arithmetic or logical operations.

26
Q

True or False: The Control Bus also carries the clock’s pulses.

A

True.