Top Banner
Machine level architecture Computer Architecture Basic units of a Simple Computer
14

Machine level architecture Computer Architecture Basic units of a Simple Computer.

Dec 29, 2015

Download

Documents

Gwenda Randall
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Machine level architecture

Computer ArchitectureBasic units of a Simple Computer

Page 2: Machine level architecture Computer Architecture Basic units of a Simple Computer.

How do we add two numbers?

Page 3: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Program Unit

Output

Input

(data)Memory

Accumulator SIMCo

Page 4: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Inputs and Outputs

Goldman Sachs partner Dennis Suskind

Page 5: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Processes and Flow Charts

Start

Receive numbers to add

Do Addition

Announce Answer

Stop

Start

Read first number

Read second number

Put first number into accumulator

Add second number to first

Store sum in memory

Print Sum

Stop

Page 6: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Program

017

018

117

218

619

519

Input Output

Memory

Accumulator

1st number to be added

Read First Number

Page 7: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Program

017

018

117

218

619

519

Input Output

Memory

Accumulator

2nd number to be added

Read Second Number

Page 8: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Program

017

018

117

218

619

519

Input Output

Memory

Accumulator

1st Number

Put first number in accumulator

Page 9: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Program

017

018

117

218

619

519

Input Output

Memory

Accumulator

Sum of 1st and 2nd number

Add second number to first

Page 10: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Program

017

018

117

218

619

519

Input Output

Memory

Accumulator

Sum

Store sum in memory

Page 11: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Program

017

018

117

218

619

519

Input Output

Memory

Accumulator

1st number to be added

Print Sum

Page 12: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Operational Codes0 = Input1 = Clear and Add2 = Add3 = Test Accumulator Contents4 = Shift5 = Output6 = Store7 = Subtract8 = Unconditional Jump9 = Halt and Reset

Page 13: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Memory

Page 14: Machine level architecture Computer Architecture Basic units of a Simple Computer.

Operational Codes9 = Input1 = Clear and Add2 = Add3 = Test Accumulator Contents4 = Shift5 = Output6 = Store7 = Subtract8 = Unconditional Jump0 = Halt and Reset

Card

iac O

p C

od

es