Docsity

Worksheet 1: The CPU and Computer Architecture, Study notes of Computer Architecture and Organization

Toggle sidebar
bg1
!
!
1
!
Worksheet 1 The CPU
Unit 1 Systems architecture
Worksheet 1: Computer architecture
Task 1
1. Match up the terms on the left with the statements on the right
Accumulator
Points to the next instruction that needs to be executed.
It is located in the Control Unit
Memory
Address
Register
(MAR)
Used for holding the address of the
current instruction to be executed,
and the address of data to be used in instruction
Memory Data
Register
(MDR)
Used for holding the actual instruction or data
that is stored in RAM
Program
Counter
Used for temporarily storing arithmetic
and logic results.
2. von Neumann architecture uses the ‘stored program’ concept. Describe what this
means.
3. How does the computer know whether an address contains an instruction to be
executed, or data to be used in an instruction?
pf3

Partial preview of the text

Download Worksheet 1: The CPU and Computer Architecture and more Study notes Computer Architecture and Organization in PDF only on Docsity!

Unit 1 Systems architecture

Worksheet 1 : Computer architecture

Task 1

1. Match up the terms on the left with the statements on the right

Accumulator Points to the next instruction that needs to be executed. It is located in the Control Unit Memory Address Register (MAR) Used for holding the address of the current instruction to be executed, and the address of data to be used in instruction Memory Data Register (MDR) Used for holding the actual instruction or data that is stored in RAM Program Counter Used for temporarily storing arithmetic and logic results.

  1. von Neumann architecture uses the ‘stored program’ concept. Describe what this means.
  2. How does the computer know whether an address contains an instruction to be executed, or data to be used in an instruction?

Unit 1 Systems architecture

Task 2

  1. The segment of memory shown below stores both program instructions and data. Address Data / Instruction 01 LDA # 02 SUB 05 03 STO 06 04 05 3 06

a) What is this architecture known as?

b) With reference to the four CPU registers below, describe how they are used to

complete the program instructions stored in location 1. LDA #11 means “Load the value 11”, SUB 05 means “subtract the value in location 5 ”. STO 06 means “store the result in location 6”. Note the use of ‘#’ to denote an actual value rather than the value in a memory location. Program Counter (PC) Memory Address Register (MAR) Memory Data Register (MDR) Accumulator