COM SCI 31 Lecture Notes - Lecture 1: Von Neumann Architecture, Opcode
Document Summary
Read what we write memory: can only store integers von neumann architecture: store instructions for data and data together. Cpu input/output keyboards mouse temp sensors microphones screen machine language program: eexpressed as integers, executed by cpu invented computer memory: 1000 5-digit numbers. 6: 32783 label(1-6): address [0-9999] accumulator: 83695 program/instruction counter: 000 can tell memory 2 things: 1) give me value at address or 2) store a value at address. Cpu is told to retrieve value at location #0 operation code: 21. 21 is fed into circuit that can do 100 things (0-99) address: 004. 21: copy the number of the indicated address into the accumulator. Cpu: hey memory give me the value at 004. Cpu: accumulator = 00042 part of cpu: arithmetic logic unit (alu) noun: arithmetic, adjective: arithmetic. Cpu takes program number and sends to alu to add one. 2nd iteration: retrieve 11005, 11 is op code, 005 is address.