Structure and role of the processor and it's component Flashcards

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

What does the Arithmetic Logic Unit do?

A

Performs arithmetic and logical operations

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

What is the purpose of the Control Unit?

A

Supervises the fetch-decode-execute cycle, sends/receives control signals and decodes each instruction once it has been fetched from memory

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

What is the purpose of the clock?

A

To generate timing signals

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

What does a general purpose register store?

A

Any data

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

What is a dedicated register?

A

A register dedicated to holding specific data for a specific purpose

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

What is the purpose of the program counter?

A

Store the address of the next instruction.

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

What is the purpose of the current instruction register?

A

Stores the instruction currently being executed

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

What is the purpose if the memory address register?

A

Stores the data address of the item in memory being addressed. Could refer to instruction or data

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

What is the purpose of the Memory buffer register?

A

Stores data currently being fetched from memory

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

What is the purpose of the status register?

A

Stores the current state of the processor, such as whether an overflow has occurred

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

Describe the fetch part of the fetch-decode-execute cycle.

A

The clock tick starts cycle
The contents of the PC are copied to the MAR
PC is incremented by 1
Address bus transfers contents of MAR to memory
The data at that memory location is transferred to the processor via the data bus
The fetched data is stored in the MBR
The data is transferred to the CIR

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

Describe the decode part of the fetch-decode-execute cycle.

A

The data in the CIR is split into opcode and operand

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

Describe the execute part of the fetch-decode-execute cycle if data needs to be fetched from memory.

A

Address of data is stored in MAR
Address bus transfers contents of MAR to main memory
Data at that memory location is transferred to the processor via the data bus
Fetched data stored in MBR

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

What is an opcode?

A

An operation code that describes the operation that is to be performed

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

What is an operand?

A

The value in which the operation is to be carried out

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

What does addressing mode mean?

A

Whether it is an immediate or direct addressing

17
Q

What is immediate addressing?

A

The operand is the value to be processed i.e. #3

18
Q

What is direct addressing?

A

The operand is the address of the value to be processed i.e. R3

19
Q

What is the purpose of using AND with the operation and 0?

A

It resets the register to 0

20
Q

How can you find out if two values are equal?

A

Using an XOR and seeing if the results match

21
Q

What is an interrupt?

A

A signal sent to the processor in order to alert an event

22
Q

What is an Interrupt service routine (ISR)?

A

A program that examines an interrupt and handles it

23
Q

What are some interrupt triggers?

A

timing signal
program error
hardware error
new I/O signal detected

24
Q

When does interrupt checking occur?

A

After an instruction is executed

25
Q

What happens if an interrupt is flagged?

A

The state of a processor is stored in the stack, and the source of the interrupt is identified, the appropriate interrupt service routine is called and the processor state is then restored

26
Q

What is a single core?

A

A processor containing a single CPU

27
Q

What is a dual core?

A

A processor containing two CPUs both working simultaneously

28
Q

What is the cache?

A

A small unit of volatile memory containing the most frequently used instructions for fast access

29
Q

What is the effect of increasing the number of cores?

A

More instructions can be processed simultaneously

30
Q

What is the effect of increasing clock speed?

A

Instructions are processed quicker

31
Q

What is a word in reference to binary data?

A

The maximum number of bits that can be processed in an instruction

32
Q

What is the effect of increasing the address bus width?

A

More data in the main memory can be addressed

33
Q

What is the effect of increasing the width of the data bu?

A

More data can be transferred in one fetch cycle, so less time is lost waiting for data to arrive at the processor