C51 使用头文件
代码说明:
C51 编译用头文件,可以用于C51 开发,对于不同C51定义不同: /// Used with pointers, declares a generic pointer. Generic pointers /// work with any memory space but are inefficient. #define SEG_GENERIC /// Declares a variable to be located in 8051 DATA space. #define SEG_DATA data /// Declares a variable to be located in 8051 IDATA space. #define SEG_IDATA idata /// Declares a variable to be located in 8051 XDATA space. #define SEG_XDATA xdata /// Declares a variable to be located in 8051 PDATA space. #define SEG_PDATA pdata /// Declares a variable to be located in 8051 BDATA (bit-addressable) space. #define SEG_BDATA bdata /// Declares a variable to be located in 8051 CODE space. #define SEG_CODE code
下载说明:请别用迅雷下载,失败请重下,重下不扣分!