Integer of type int 65535;
The binary system is 16 1, as follows:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
From the back to the front, the eight bits occupied by the first eight 1 belong to the lower eight bits, and the eight bits occupied by the last eight 1 belong to the upper eight bits.
Single-chip microcomputer uses 4-digit hexadecimal, such as A8E6H.
The corresponding binary values of 16 are 10 10, 1000,1/kloc-0, 0/kloc-0.
Obviously, the upper 8-bit binary value is 10 10, 1000B.
The low-order 8-bit binary value is110,01/0b.
The hexadecimal numbers reduced to two digits are:
The upper 8-bit binary value is A8H.
The low 8-bit binary value is E6H.