Mutual conversion between binary original code, complement code, complement code and frame code

888u

Last update at :2024-05-20,Edit by888u

The highest bit of the binary system is the sign bit, 0 is a positive number and 1 is a negative number. The original code, inverse code and complement code of a positive number are the same. The one’s complement of a negative number = the original code is inverted except for the highest bit (sign bit). The complement of a negative number = one's complement + 1. Frameshift = Negating the highest bit (sign bit) of the two's complement number. -0 Original code: 1000 0000 -0 inverse code: 1111 1111 -0's complement: 0000 0000 -0 framecode: 1000 0000 +0 Original code: 0000 0000 +0 inverse code: 0000 0000 (positive inverse code is the same as the original code) +0's complement: 0000 0000 (positive number's complement is the same as the original code) +0 framecode: 1000 0000 -1 Original code: 1000 0001 -1 inverse code: 1111 1110 -1's complement: 1111 1111 -1 framecode: 0111 1111 +1Original code:0000 0001 +1 inverse code: 0000 0001 (positive number inverse code is the same as the original code) +1's complement: 0000 0001 (positive number's complement is the same as the original code) +1 framecode: 1000 0001

Recommended site search: find IP, telecom host rental, server defense cost, jsp virtual host, website space purchase, Japanese proxy server IP, Hong Kong proxy server, cheap virtual host, dual-line host rental, mainland China station group Server,

Mutual conversion between binary original code, complement code, complement code and frame code

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码