140 likes | 306 Views
Machine level architecture. Computer Architecture Basic units of a Simple Computer. How do we add two numbers?. Output. Program Unit. Input. (data) Memory. Accumulator. SIMCo. Inputs and Outputs. Goldman Sachs partner Dennis Suskind. Processes and Flow Charts. Start.
E N D
Machine level architecture Computer Architecture Basic units of a Simple Computer
Output Program Unit Input (data) Memory Accumulator SIMCo
Inputs and Outputs Goldman Sachs partner Dennis Suskind
Processes and Flow Charts Start Read first number Start Read second number Receive numbers to add Put first number into accumulator Do Addition Add second number to first Store sum in memory Announce Answer Print Sum Stop Stop
Read First Number Input Output Program 017 Memory 1st number to be added 018 117 218 619 Accumulator 519
Read Second Number Input Output Program 017 Memory 2nd number to be added 018 117 218 619 Accumulator 519
Put first number in accumulator Input Output Program 017 Memory 018 117 218 619 Accumulator 1st Number 519
Add second number to first Input Output Program 017 Memory 018 117 218 619 Accumulator Sum of 1st and 2nd number 519
Store sum in memory Input Output Program 017 Memory Sum 018 117 218 619 Accumulator 519
Print Sum Input Output Program 017 Memory 1st number to be added 018 117 218 619 Accumulator 519
Operational Codes 0 = Input 1 = Clear and Add 2 = Add 3 = Test Accumulator Contents 4 = Shift 5 = Output 6 = Store 7 = Subtract 8 = Unconditional Jump 9 = Halt and Reset
Operational Codes 9 = Input 1 = Clear and Add 2 = Add 3 = Test Accumulator Contents 4 = Shift 5 = Output 6 = Store 7 = Subtract 8 = Unconditional Jump 0 = Halt and Reset Cardiac Op Codes