c4 - processor fundamentals Flashcards

1
Q

describe the role of the registers in the FE cycle. [5]

A

The program counter holds the address of the nexxt instruction to be fetched and the contents are incremented. The MAR holds the address to fetch the data. The MDR holds the data pointed by the MAR. The instruction is transferred to the CIR to be decoded and executed.

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

When are interrupts detected? [1]

A

at the start/end of a FE cycle.

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

How are interrupts handled? [4]

A

first, priority is checked. if its a lower priority than the current process, the current process will continue, if its higher then the current process is put into a stack and the interrupt is handled by the interrupt service register (ISR). Once the ISR is finished, further interrupts are checked.

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

clock speed?

A

the number of FE cycles per second

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

what does more number of cores do?

A

more cores means more instructions can be carried out simultaneously.

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

how does bus width affect the performance of the computer?

A

allows the transfer of more data each time.

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

how does cache affect the performance of the computer?

A

the higher the capacity, the more frequently used instructions it can store for faster access.

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

what is meant by stored program concept?

A

instructions and data are stored in the same memory space.

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

What are the four flags?

A

Overflow, carry, negative and zero flags.

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

Describe the purpose of the control unit? [2]

A

To synchronize the actions of other components in the CPU. To send and receive control signals through the control bus. To control communication between the components and the CPU

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

What happens in the first pass in the two pass assembler?

A
  • read the assembly code one line at a time.
  • ignore comments
  • Check the opcode is in the instruction set.
  • Place address of labelled instruction in the symbol table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What happens in the second pass in the two pass assembler?

A
  • read the assembly code one line at a time.
  • generate an object code from the symbol table generated in pass 1.
  • save or execute the program.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Register transfer notation stages

A

PC <– [PC] + 1
MAR <– [PC]
MDR <–[[MAR]]
CIR <– [MDR]

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

What is relative addressing? [2]

A

mode of addressing in which the
memory address used is the current memory address
added to the operand.

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

how is data transmitted through a USB port? [1]

A

One bit is transferred at a time

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