Table 1: Operation code inputs.

3 bit input codeBasic operations

0000Rest
0001Addition
0010Subtraction
0011Accumulation
0100Multiplication
0101Division
1000AND
1001OR
1010XOR
1011NAND
1100NOR
1101XNOR