machine level architecture computer architecture basic units of a simple computer
Post on 29-Dec-2015
217 Views
Preview:
TRANSCRIPT
Machine level architecture
Computer ArchitectureBasic units of a Simple Computer
How do we add two numbers?
Program Unit
Output
Input
(data)Memory
Accumulator SIMCo
Inputs and Outputs
Goldman Sachs partner Dennis Suskind
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
Program
017
018
117
218
619
519
Input Output
Memory
Accumulator
1st number to be added
Read First Number
Program
017
018
117
218
619
519
Input Output
Memory
Accumulator
2nd number to be added
Read Second Number
Program
017
018
117
218
619
519
Input Output
Memory
Accumulator
1st Number
Put first number in accumulator
Program
017
018
117
218
619
519
Input Output
Memory
Accumulator
Sum of 1st and 2nd number
Add second number to first
Program
017
018
117
218
619
519
Input Output
Memory
Accumulator
Sum
Store sum in memory
Program
017
018
117
218
619
519
Input Output
Memory
Accumulator
1st number to be added
Print Sum
Operational Codes0 = Input1 = Clear and Add2 = Add3 = Test Accumulator Contents4 = Shift5 = Output6 = Store7 = Subtract8 = Unconditional Jump9 = Halt and Reset
Memory
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
top related