Skip to content

seusher/Binary

Repository files navigation

Binary Addition

.NET

Truth Table

Cin = carry in
A = binary digit of 1st number
B = binary digit of 2nd number
Sum = sum of Cin + A + B
Cout = carry out

Cin A B Sum Cout
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1

Lookup Tables

Sum

The output of sum in the table shows that the lookup table is equivalent to: 0b10010110

Carry (out)

The output of carr (out) in the table shows that the lookup table is equivalent to: 0b11101000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages