?? generic.h
字號:
// generic.h
// - Contains generic definitions that should be applicable to all codes.
// COMPILER DEFINITIONS
// Pre-Processor
// Directive Description
// ===================================================
// #CASE Will cause the compiler to be case sensitive.
// By default the compiler is case insensitive.
// #OPT n n varies from 0-9. Sets the optimization level. Defualt is 9.
// #PRIORITY ints ints is a list comma-delimited interrupts.
// Sets interrupt priority in descending order.
// LOGIC DEFINITIONS
//#DEFINE NULL 0
#DEFINE FALSE 0
#DEFINE TRUE 1
#DEFINE LOW 0
#DEFINE HIGH 1
#DEFINE DISABLE 0
#DEFINE ENABLE 1
// DATATYPE DEFINITIONS
// Type Description
// ================================================
// int1 Defines a 1 bit number.
// int8 Defines an 8 bit number.
// int16 Defines a 16 bit number.
// int32 Defines a 32 bit number.
// char Same as int8.
// float Same as int32.
// void Indicates no specific type.
#DEFINE BOOLEAN int1
#DEFINE BOOL BOOLEAN
#DEFINE BYTE int8
#DEFINE WORD int16
#DEFINE DWORD int32
#TYPE short=1, int=8, long=16
#DEFINE INTEGER int8
// STRING FUNCTION DEFINITIONS
#DEFINE getc getch
#DEFINE getchar getch
#DEFINE putc putchar
// ASCII CONTROL CODES
#DEFINE ASCII_SOH 0x01
#DEFINE ASCII_EOT 0x04
#DEFINE ASCII_ACK 0x06
#DEFINE ASCII_NAK 0x15
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -