|   | Inputs | Outputs | |||||
  | FUNCTION | A(3..0) | B(3..0) | S(3..0) | CN | M | F(3..0) | Cn+4 |
example | 4+10 (addition) | 0100 | 1010 | 1001 | 0 | 0 | 1110 | 0 |
a) | 14+13 (addition) |   |   |   |   |   |   |   |
b) | 14-12 (Subtraction) Hint: Carry adds 1 |   |   |   | 1 |   |   |   |
c) | 3-1 (decrement) |   |   |   |   |   |   |   |
d) | NOT A when A=14 |   |   |   |   |   |   |   |
e) | NOT B when B=15 |   |   |   |   |   |   |   |
f) | A and B A=3, B=3 |   |   |   |   |   |   |   |
g) | A or B A=7, B=14 |   |   |   |   |   |   |   |
h) | A+B (addition) A=7, B=14 |   |   |   |   |   |   |   |
i) |   A=10 B=13 |   |   |   |   |   |   |   |
j) |   A=5 B=5 |   |   |   |   |   |   |   |