声明:
1、本翻译仅供个人学习使用,本人没有提供技术支持的义务,也不承担由此引发的任何后果。
2、请勿用于商业用途。
3、英文来自:http://www.keil.com/support/man/docs/c51/。
4、欢迎大家共同与我交流探讨(290207203@qq.com)。
REGISTERBANK Compiler Directive
Abbreviation | RB |
Arguments | A number in range 0-3 enclosed in parentheses. |
Default | REGISTERBANK (0) |
µVision | Options — C51 — Misc controls. |
Description | The REGISTERBANK directive selects which register bank to use for subsequent functions declared in the source file. Resulting code may use the absolute form of register access when the absolute register number can be computed. The using function attribute supersedes the effects of the REGISTERBANK directive. Note
|
See Also | |
Example | C51 SAMPLE.C REGISTERBANK(1) #pragma rb(3) |
REGISTERBANK 编译器伪指令
缩写 | RB |
参数 | 0-3之间的整数,用括号括起来。 |
缺省 | REGISTERBANK (0) |
µVision | Options — C51 — Misc controls. |
描述 | REGISTERBANK 伪指令选择源文件中的子函数使用的寄存器组。当使用绝对寄存器号时,生成的代码使用绝对寄存器寻址。using 函数属性取代REGISTERBANK 伪指令。 注意
|
参考 | |
示例 | C51 SAMPLE.C REGISTERBANK(1) #pragma rb(3) |