Searched Projects

Tags: sign/magnitude

project.name
1 Stars     285 Views
User:

LabAssignment3

LabAssignment3

converts 4-bit sign/manitude number to 4-bit 2's complement number


project.name
0 Stars     65 Views
User:

4 digit sign/magnitude to two's complement

4 digit sign/magnitude to two's complement

If most sig. digit is 1 then we add -1(or 1111 in 4 digits) and then invert the other three digits.

If most sig. digit is 0 then we don't add anything(or add 0000) and don't invert any digits.

Used adders, 3 NOT gates and 3 demultiplexers.