ELEC1710 Lecture Notes - Lecture 7: Central Processing Unit, Instruction Register, Address Bus
Document Summary
The computer is a digital logic circuit which moves and manipulates data in a way defined by programming. Programming is a list of instructions which are performed sequentially. Main components of a microprocessor: central processing unit (cpu, fetches instructions from memory to decode and execute, memory, ram/rom/cache etc. Input/output ports: connects microprocessor to the outside world, monitor, mouse, keyboard, printer, cd, etc, data routing circuitry, address bus carries (memory or i/o) locations, data bus carries contents, control bus transfer control signals to/from cpu. Alu arithmetic and logic unit: performs arithmetic (+ - x /) & logic (and or not, takes 2 operands and an operation code as input, produces an arithmetic result as output, typically built from combination logic. Register array: register store groups of bits in groups of flip-flops, store temporary results during program execution, typically built from d flip-flops. Control circuit: converts instructions opcodes into internal control signals, signals serve two functions, dictating movement of data.