Mechatronic Systems Engineering 2202A/B Lecture Notes - Lecture 4: Instruction Register, Program Counter, Subroutine
Document Summary
Section of the processor which processes the data. The cpu consists of a control unit, an arithmetic and logic unit (alu) and registers. The control unit determines the timing and sequence of operations. The alu is basically a boolean math engine that performs math functions on binary numbers. A group of registers is used by the cpu to hold internal data temporarily, while instructions are being executed. The specific registers generally vary from one microprocessor to another. This is where data for an input to the alu is temporarily stored. Used for working with multiple operands, as only one memory location can be addressed at once. One number is fetched from memory and placed in accumulator. Second number is fetched from memory and operation performed. The accumulator is involved in all data transfers associated with the execution of arithmetic and logic operations. Contains information related to the result of the latest process carried out in the alu.