week 1 Flashcards

1
Q

multiplexing

A

sharing of resources over time and space

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

basic cycle of the CPU

A

fetch instruction from memory
decode instruction to determine type and operands
execute instruction

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

general registers

A

contained within CPU
holds key variables and temporary results
used because accessing memory is a time expensive operation

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

special registers

A

registers in CPU with specific purposes
visible to the programmer

eg.
PC: program counter, contains memory address of the next instruction to be fetched
SP: stack pointer, points to the top of the current stack in memory
PSW: program status word, contains condition bits set by comparison instructions, CPU priority, mode, other control bits

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

pipeline

A

organisation where CPU is designed to split up tasks to execute more than one instruction at a time

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

kernel vs user mode

A

in kernel mode the CPU can execute every instruction and access every hardware
user mode: limited access

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

system call

A

method in which the user can request to obtain services from the OS i.e. services that run in kernel mode

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