Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What is the meaning of X in scon=0x50 in C language programming of single chip microcomputer?
What is the meaning of X in scon=0x50 in C language programming of single chip microcomputer?
Scon=0x50, where 0x50 is an integer, which is the representation of integer constants in C language. Indicates that the value is 16 hexadecimal number.

C language starts with 0x, followed by several characters. The range of characters is 0 ~ 9 and A ~ F, which is case-insensitive. This case is represented by 16, and the representative value is corresponding to 16.

0x50 is 50 in the radix of 16, that is, 80 in the radix of 100 10000 and 10.