We will discuss the Digital ComputerOrganization in details on this page. Main components covered are ALU, Program Counter (PC), Registers, Stack Pointer (SP), stack, timing control unit and flags.
Block diagram of CPU is discussed on previous page.
ALU: Arithmetic Logical Unit
A most generic computer system is composed of a unit to do arithmetic, shift and logical micro-operations commonly know as ALU of CPU.
Detailed discussion on computer. ALU operations can be accessed from here.
This keeps track of the instruction address in memory from where the next instruction needs to be fetched. The instructions are stored in memory in an order decided by programmer.
General Purpose Registers: R1, R2, R3:
As the name General Purpose Registers, suggests that the registers are involved in operations like load inputs, store intermediate results of arithmetic
and shift micro-operations
. The initial inputs are loaded into registers from memory and final results are later moved into memory.