7 - Von Neumann's Model & Registers Flashcards

(13 cards)

1
Q

Give 4 main points of Von Neumann’s Model

A
  1. General purpose machine controlled by an executable program
  2. which is a list of instruction used to direct a task
  3. Both the program and data are stored in machine’s memory in binary
  4. A processor is therefore actively used to execute the program’s instructions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give the 3 principle components of a computer?

A

CPU, main memory, IO units.

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

What are buses ?

A

A bus is a bundle of conductors, wires, or tracks that connects various components in the motherboard.

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

Give examples of (types of) buses?

A

Address, data and control buses.

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

Give advantages and disadvantage of a bus vs point-to-point connections ?

A
  • The number of wires required for a bus is much smaller than for point-to-point connections. As the number of components grows, so does the wiring. Once you’re at 20-30 components, checking if everything’s connected is complicated.
  • It’s easy to add new devices to a bus as it runs through the middle.
  • A bus can only transfer one item of data at a time → a limit on performance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the 2 parts of a CPU ?

A

The ALU and the Control Unit. (~And memory)

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

How does the IO let the CPU know when it’s ready to perform a task ?

A

It sends an interrupting signal to the cpu.

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

What does IP/ PC stand for and what does it do ?

A

Instruction pointer (IP) or Program pointer (PC).

It (always) points the cpu to where the next instruction is in the memory, so that the CPU can go fetch it.

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

What does AX stand for and what does it do ?

A

Accumulator Register. Very frequently used.

Used for calculations and computations by storing values in the it before you use them.

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

What does IR stand for and what does it do ?

A

Instruction Register.

Its a temporary storage for the instruction we’re currently working on/executing.

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

What does MAR stand for and what does it do ?

A

Memory address register. NOTE: this is not a CPU register (?)

Used to hold an address of something we want to access in memory. Its another register to hold an address of something we’ve accessed in the past.

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

Describe the steps in the fetch phase ?

A
  1. The address in IP register is copied onto the address bus and out to the MAR register
  2. IP is incremented ready for the next cycle. IP now points to the next location in the program memory
  3. Memory accesses the required location and copies the content onto the data bus
  4. The CPU copies the instruction code from the data bus into the IR
  5. The decoding of the instruction starts
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe the steps in the execute phase of MOV AX, 256 ?

A

– IP is copied to address bus and latched into memory
– IP is incremented
– The value (256) selected in memory is copied onto
the data bus
– CPU copies the value from the data bus into AX

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