Perform reverse conversion of the code in a straight line.
to do this, invert all the bits except the sign like this:
| 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 1 |
got It:0101011001001101
let\'s translate to decimal like this:
0∙215+1∙214+0∙213+1∙212+0∙211+1∙210+1∙29+0∙28+0∙27+1∙26+0∙25+0∙24+1∙23+1∙22+0∙21+1∙20 = 0∙32768+1∙16384+0∙8192+1∙4096+0∙2048+1∙1024+1∙512+0∙256+0∙128+1∙64+0∙32+0∙16+1∙8+1∙4+0∙2+1∙1 = 0+16384+0+4096+0+1024+512+0+0+64+0+0+8+4+0+1 = 2209310
got It: 01010110010011012 =2209310
let\'s translate from decimal to binary decimal (BCD) like this:
2209310 = 2 2 0 9 3 = 2(=0010) 2(=0010) 0(=0000) 9(=1001) 3(=0011) = 100010000010010011BCD
the Final answer: 00101001101100102 = 100010000010010011BCD