5. Processor fundamentals Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What buses does the system bus contain?

A

System bus contains the data, address and control buses

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

What 2 kinds of registers are there?

A

Registers can be either general purpose or special purpose and for simplicity purposes we say that there is one general purpose register which we call - the accumulator.

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

What are CIR, IX, MAR, MDR, PC, SR registers?

A

CIR - current instruction register. Stores the current instruction while it is being decoded and executed.
IX - index register. Stores a value; only used for indexed addressing.
MAR - memory address register. Stores the address of a memory location which is about to have a value read from or written to.
MDR - Memory data register. Stores data that has just been read from memory or is just about to be written to memory.
PC - Program counter. Stores the address of where the next instruction is to be read from.
SR - status register. For the status register each individual bit is used as a logical flag for a specific type of interrupt or problem that has occured. The bit is set to 1 if a condition is detected and 0 otherwise.

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

What is the function of address bus?

A

The sole function of the address bus is to carry an address

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

What is the function of a data bus?

A

The function of the data bus is to carry data. This might be an instruction, an address or a value.

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

What is the function of control bus?

A

Control bus carries control signals from the processor to other components. The control bus also carries the clock’s pulses.

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

Describe the F-E cycle.

A

• The address in the program counter is the address of next item to be fetched
• The address is copied into MAR
• Using the address bus the instruction from that address moved/copied from main memory to MDR with the data bus
• The instruction is transferred from MDR to CIR
• Instruction is decoded in the CIR into op code and operand
• The processor executes the instruction.
• The address in PC is incremented ready for next loop

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

What is the purpose of CU?

A

CU (Control Unit) is responsible for controlling the flow of data and that program instructions are handled correctly.

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

What is the purpose of ALU?

A

ALU (Arithmetic and Logic Unit) is responsible for the arithmetic and logic processing

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