7 - Von Neumann's Model & Registers Flashcards Preview

103: Computer Systems > 7 - Von Neumann's Model & Registers > Flashcards

Flashcards in 7 - Von Neumann's Model & Registers Deck (13)
Loading flashcards...
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
2
Q

Give the 3 principle components of a computer?

A

CPU, main memory, IO units.

3
Q

What are buses ?

A

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

4
Q

Give examples of (types of) buses?

A

Address, data and control buses.

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
6
Q

What are the 2 parts of a CPU ?

A

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

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.

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.

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.

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.

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.

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
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