?? variable.c
字號:
/**************** (c) 1998 SGS-Thomson Microelectronics **********************
PROJECT : ST72101
COMPILER : ST7 HICROSS C (HIWARE)
MODULE : variable.c
VERSION : V 2.0
CREATION DATE : 03/07/98
AUTHOR : PPG 8-bit Micro Application Team
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
DESCRIPTION : Application Global Variables Definition
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
MODIFICATIONS :
******************************************************************************/
unsigned char data1 = 0x10; // Those registers will start from add 0x100 as
unsigned char data2 = 0xC3; // no special pragma was ever declared before.
unsigned char data3; // This comes from the .prm file where the default segment
// is located at address 0x100.
#pragma DATA_SEG SHORT _ZEROPAGE
unsigned char ramloc1;
unsigned char ramloc2; // According to the prm file, the _ZEROPAGE starts at
unsigned char ramloc3; // address 0x080 so the next three registers will be located
// at address 80h, 81h and 83h.
#pragma CONST_SEG ROM // Once again, the prm file indicates the start address of
// the ROM segment.
// The table defined below, will be a table of 10 constants.
const unsigned char table[10] = {
0x10,
0xAA,
0x00,
0xBB,
19,
0xFF,
0xDC,
0xAB,
0xC1,
0x03
}
;
/*** (c) 1998 SGS-Thomson Microelectronics ****************** END OF FILE ***/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -