First Make T.T
4-INPUTS(ABCD) Respectively
4-OUTPUT(QWER) Respectively
The output is 2's complement of input
__________________________
Binary. !! 2'scompliment
00 || 00
01 || 15
02 || 14
03 || 13
04 || 12
05 || 11
06 || 10
07 || 09
08 || 08
09 || 07
10 || 06
11 || 05
12 || 04
13 || 03
14 || 02
15 || 01
At binary 0&8 input=output