variables.c

来自「中文的51编译器,keil破解版」· C语言 代码 · 共 15 行

C
15
字号
/*
 * in a single C source file it is not possible to define more than
 * 64KB far or far const variables.  Therefore we have split the
 * definition into a 2nd file.  
 *
 * Also the linker cannot split far variables of one module into different
 * banks.  Therefore you need to split variables into different modules, 
 * when the far variables of one module exceed the limits of your code/data
 * banks.
 */ 

       unsigned char far large_array1[0x8000];
const  unsigned char far large_carray1[0x8000] = { 1, 2, 3, 4, 5 };

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?