1.1 S. Architecture Flashcards

1
Q

ADDRESS BUS function and properties:

A
  • transmit memory addresses specifying where data is to be sent to/retrieved from
  • uni-directional
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what determines the max. memory addresses in the bus?

A
  • the width of the address bus determines the max. possible memory addresses
  • a 32-bit AB has the capacity for 2^32 addresses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DATA BUS function and properties:

A
  • used for transporting data and instructions between components
    -bi-directiona’
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does width determine for the data bus?

A
  • defined by the no. of wires/lines it contains
  • when the data bus is the same width as a computer word, data can be transferred to and from the memory in a single action
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is the system bus?

A
  • three separate buses carrying control signals, addresses and data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

memory read control signal?

A

causes data from the addressed location in RAM to be placed on the data bus

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

memory write control signal?

A

causes data on the data bus to be written into the addressed location in RAM

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

bus request control signal?

A

indicates that a device is requesting use of the data bus

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

bus grant control signal?

A

indicates that the CPU has granted access to the data bus

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

clock control signal?

A

used to synchronise operations

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

how do buses link to assembly language?

A

the architecture of a computer eg. word size and width of address bus determines the format of a machine code instruction

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

Arithmetic-Logic Unit (ALU) function:

A

arithmetic (+, -, *, /), logical (AND, OR, NOT, XOR) and shift (shifting bit series within a register) operations

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

what are registers and why are they useful?

A
  • locations of super-fast memory used to temporarily store results for immediate access and re-use
  • this is useful as carrying out a sequence of instructions requires many different pieces of information to be held
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Program counter (PC):

A
  • holds the memory address of the next instruction to be executed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Memory Address Register (MAR):

A
  • holds the address of where the processor must fetch data from or store it to
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Memory Data Register (MDR):

A
  • temporarily holds data moving between the processor and main memory
17
Q

Current Instruction Register (CIR):

A
  • holds the current instruction, which is split into opcode (the instruction that is executed by the CPU and addressing mode) and operand (the data or memory location used to execute that instruction)
18
Q

Accumulator (ACC):

A
  • holds intermediate results of an instruction
19
Q

opcode

A

the instruction that is executed by the CPU and addressing mode

20
Q

operand

A

the data or memory location used to execute that instruction

21
Q

fetch:

A
  1. address of next instruction is copied from PC —→ MAR
  2. instruction held at that address is copied —→ Memory Data Register (MDR)
  3. simultaneously, contents of PC are incremented
  4. contents of the MDR are copied —→ CIR
22
Q

decode:

A
  1. instruction in CIR is decoded
  2. decoded instruction split into operand + opcode to determine instruction type
  3. if required: additional data is fetched from memory —→ ACC
23
Q

execute:

A
  1. the opcode is executed on the operand
  2. instruction executed and result held in ACC or —→ memory
24
Q

FACTORS AFECTING CPU PERFORMANCE:

A
  • clock speed
  • num. cores
  • amount and type of cache memory