Turing machine for 2's complement

Let's consider a binary number  01011000

Now, we will first find out the 1's complement of 01011000 then add 1 to get the 2's complement of the considered binary number.
Here is the process :


01011000
10100111
            +1
10101000 







Post a Comment (0)
Previous Post Next Post