Introduction to Computer System                                                                                                              Print this page
<< Previous |  First |  Last |  Next >>       

The different operations and their binary code is as follows:

Arithmatic
Logical
000
 ADD
100
 OR
001
 SUB
101
 AND
010
 MULT
110
 NAND
011
 DIV
111
 NOR

Consider the part of control unit, its task is to generate the appropriate signal at right moment.

          There is an instruction decoder in CPU which decodes this information in such a way that computer can perform the desired task

          The simple model for the decoder may be considered that there is three input lines to the decoder and correspondingly it generates eight output lines. Depending on input combination only one of the output signals will be generated and it is used to indicate the corresponding operation of ALU.

In our simple model, we use three storage units in CPU,
                  Two  --  for storing the operand and
                  one  --  for storing the results.
These storage units are known as register.

<< Previous |  First |  Last |  Next >>