SLR1-1.1: Structure and function of the processor Flashcards

(16 cards)

1
Q

What are the main components of a computer?

A
  • Input devices
  • Output devices
  • CPU
  • Main memory (RAM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are two examples of input devices?

A

1) Mouse
2) Keyboard

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

What are two examples of output devices?

A

1) Screen
2) Speakers

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

What is the function of the Control Unit (CU) ?

A

*Decodes instructions
* Sends control signals to coordinate the movement of data through the processor
* Sends control signals to execute them
* Coordinates buses

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

What is the function of the Program Counter (PC)?

A
  • Holds the address of the next instruction
  • Sends it to MAR
  • Then increments (or jumps to new address from CIR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the function of the Memory Address Register (MAR)?

A
  • Holds the address from the Program Counter (PC) or Current Instruction Register (CIR)
  • Sends it to memory to access data/instructions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the function of the Memory Data Register (MDR)?

A

*Temporarily stores fetched data/instructions
* Acts as a buffer
* Sends the instruction to the Current Instruction Register (CIR)

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

What is the function of the Current Instruction Register (CIR)?

A

*Holds the current instruction being executed
*The contents of the MDR are copied to the CIR if it is an instruction
* Contains the opcode and operand of the current instruction

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

What is the function of the Arithmetic Logic Unit (ALU)?

A
  • Performs arithmetic and logical operations and calculations on the data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the function of the Accumulator (ACC)?

A
  • Temporarily stores results of calculations
  • General purpose register of the CPU
  • Data or control information is stored here
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the 3 buses?

A
  • Data bus
    *Address Bus
  • Control Bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the function of the Data bus?

A
  • Carries data between processor components
  • Allows movement of values within the system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the function of the Address bus?

A
  • Carries addresses of data/instructions
    *Specifies where to read from or write to in memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the function of the Control bus?

A
  • Sends control signals from the Control Unit (CU) to other parts of the processor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is assembly code?

A

It is a language that has one-to-one relationships with the processor architecture

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

In low-level, what code do computer use?

A

Assembly code