2-bit Multiplier using AND and Half adders
M A T H
yup
here's 10 hours of my life ill never get back
note: click "clr" before use
OP codes and Input numbers:
OP1 0 OP2 0 null
OP1 0 OP2 1 add
OP1 1 OP2 0 write
OP1 1 OP2 1 read
number - binary equivalents
A1 A2 = B1 B2 =
0 0 = 0 | 0 0 = 0
1 0 = 1 | 1 0 = 1
0 1 = 2 | 0 1 = 2
1 1 = 3 | 1 1 = 3