Prev | Current Page 91 | Next

Carl Reynolds and Paul Tymann

"Schaum's Outline of Principles of Computer Science"

The
control unit is responsible for maintaining the steady cycle of fetch-and-execute, and the ALU provides the
hardware for arithmetic operations, value comparisons (greater than, less than, equal to), and logical functions
(AND, OR, NOT, etc.).
Both the control unit and the ALU include special, very high-performance memory cells called registers.
Registers are intimately connected to the wiring of the control unit and the ALU; some have a special purpose,
and some are general purpose. One special-purpose register is the program counter (PC).
The PC keeps track of the address of the instruction to execute next. When the control unit begins
a fetch??“execute cycle, the control unit moves the instruction stored at the address saved in the PC to another
special register called the instruction register (IR). When such a fetch of the next instruction occurs, the control
unit automatically increments the PC, so that the PC now ???points??? to the next instruction in sequence.
The control unit then decodes the instruction in the IR, and executes the instruction. When execution is
complete, the control unit fetches the instruction to which the PC now points, and the cycle continues.
Other registers of the ALU are general purpose.


Pages:
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
Mis-Teeq Los Lobos Tomek Makowiecki Monty Python Joni Mitchell