表1 Keil uVision4面向51单片机的基本数据类型各种属性一览表
╭════════════════════════════════╮ ║类 别║ 数 据 类 型 ║长 度║ 值 域 ║ ║════════════════════════════════║ ║ ║unsigned char ║1字节║0~255 ║ ║字符型║signed char ║1字节║-128~+127 ║ ║ ║char ║1字节║-128~+127 ║ ║════════════════════════════════║ ║ ║unsigned short int║2字节║0~65535 ║ ║ ║signed short int ║2字节║-32768~+32767 ║ ║ ║short int ║2字节║-32768~+32767 ║ ║ ║════════════════════════════║ ║ ║unsigned short ║2字节║0~65535 ║ ║整 型║signed short ║2字节║-32768~+32767 ║ ║ ║short ║2字节║-32768~+32767 ║ ║ ║═════════