|
| REGBANK Linker Directive| Abbreviation | | RB | | Arguments | | REGBANK (regbank « (address) » « , ... ») or REGBANK (base_addr « , regbank « (address) » « , ... » ») | | µVision | | Options — L166 Misc — RegBank. | | Description | | The REGBANK directive defines the base address (base_addr), a memory address (address), or the order of the specified register banks (regbank). Register banks defined in the REGBANK directive are located in memory sequentially. The first register bank is usually located at the register base address 0xFC00 but may be located anywhere. | | Example | |
L166 MYPROG.OBJ REGBANK (0xFB00)
This example locates all register banks starting at address 0FB00h.
L166 MYPROG.OBJ REGBANK (?C_MAINREGS(0xFC80),IREGS)
This example locates the register bank ?C_MAINREGS at address 0FC80h and locates the register bank IREGS immediately following. |
Related Knowledgebase Articles |
|