Header file for generic 80C52 and 80C32 microcontroller.
Copyright (c) 1988-2001 Keil Elektronik GmbH and Keil Software, Inc.
All rights reserved.
--------------------------------------------------------------------------*/
/*
Data Type Bits Bytes Value Range
bit 1 0 to 1
signed char 8 1 -128 to +127
unsigned char 8 1 0 to 255
enum 16 2 -32768 to +32767
signed short 16 2 -32768 to +32767
unsigned short 16 2 0 to 65535
signed int 16 2 -32768 to +32767
unsigned int 16 2 0 to 65535
signed long 32 4 -2,147,483,648 to +2,147,483,647
unsigned long 32 4 0 to 4,294,967,295
float 32 4 ±1.175494E-38 to ±3.402823E+38
sbit 1 0 to 1
sfr 8 1 0 to 255
sfr16 16 2 0 to 65535
*/
#ifndef _MYREG_H_
#define _MYREG_H_
// redefine
typedef signed char SCHAR; //8
typedef unsigned char UCHAR; //8
typedef unsigned short USHORT; //16