|
|
|
LOGIC GATE REGISTERS BUSES MEMORY --- Main Page
ALU
The ALU is the part of the processor where arithmetic operations such as adding and subtracting take place. it is also capable of logical operations such as comparing two numbers. When the ALU processes data it uses registers to store data. The ALU also contains a device called the Accumulator. From the accumulator data can be sent to the RAM or used for further processing
CU
The Control Unit keeps track of the instruction that is to be processed by using an instruction pointer. The control unit receives each instruction one after the other from the RAM and sends it to the instruction register. The control unit then reads the instruction to see what has to be done. There is a process called the 'Fetch Execute Cycle' And this means The control unit will send a signal to the data bus to fetch data from the RAM, and to the accumulator to perform the process. The Control Unit Also has some other functions such as 'Fetch' 'Decode' and 'Execute'. Fetch means to get the next instruction from the main memory. Decode means to translate the program into a language that the computer understands and is able to process. Execute means to execute the instruction.