CONTROL UNITThe control unit maintains order within thecomputer system and directs the flow of traffic(operations) and data. The flow of control is indicatedby the dotted arrows on figure 1-1. The control unitselects one program statement at a time from theprogram storage area, interprets the statement, andsends the appropriate electronic impulses to thearithmetic-logic unit and storage section to cause themto carry out the instruction.The control unit does notperform the actualprocessing operations on the data. Specifically, thecontrol unit manages the operations of the CPU, be it asingle-chip microprocessor or a fill-size mainframe.Like a traffic director, it decides when to start and stop(control and timing), what to do (program instructions),where to keep information (memory), and with whatdevices to communicate (I/O). It controls the flow of alldata entering and leaving the computer. It accomplishesthis by communicating or interfacing with thearithmetic-logic unit, memory, and I/O areas. Itprovides the computer with the ability to function underprogram control.Depending on the design of thecomputer, the CPU can also have the capability tofunction under manual control through man/machineinterfacing.The control unit consists of several basic logicallydefined areas.These logically defined areas workclosely with each other. Timing in a computer regulatesthe flow of signals that control the operation of thecomputer. The instruction and control portion makesup the decision-making and memory-type functions.Addressing is the process of locating the operand(specific information) for a given operation. Aninterrupt is a break in the normal flow of operation of acomputer (e.g., CTRL + ALT + DEL). Controlmemory is a random-access memory (RAM)consisting of addressable storage registers.Cachememory is a small, high-speed RAM buffer locatedbetween the CPU and main memory; it can increase thespeed of the PC. Read-only memory (ROM) are chipswith a set of software instructions supplied by themanufacturer built into them that enables the computerto perform its I/O operations.The control unit is also capable of shutting down thecomputer when the power supply detects abnormalconditions.ARITHMETIC-LOGIC UNITThe arithmetic-logic unit (ALU) performs allarithmetic operations (addition, subtraction,multiplication, and division) and logic operations.Logic operations test various conditions encounteredduring processing and allow for different actions to betaken based on the results. The data required to performthe arithmetic and logical functions are inputs from thedesignated CPU registers and operands.The ALU relies on basic items to perform itsoperations. These include number systems, data routingcircuits (adders/subtracters), timing, instructions,operands, and registers.Figure 1-2 shows arepresentative block diagram of an ALU of amicrocomputer.PRIMARY STORAGE (MAIN MEMORY)The primary storage section (also called internalstorage, main storage, main memory, or just memory)serves four purposes:. To hold data transferred from an I/O device to theinput storage area, where it remains until thecomputer is ready to process it. This is indicatedby the solid arrow on figure 1-1.. To hold both the data being processed and theintermediate results of the arithmetic-logicoperations. This is a working storage areawithin the storage section. It is sometimesreferred to as a scratch pad memory.. To hold the processing results in an outputstorage area for transfer to an I/O device.Figure 1-2.—Representative block diagram of an ALU.1-3
Integrated Publishing, Inc. - A (SDVOSB) Service Disabled Veteran Owned Small Business