This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Absolute location of code in bank

I am migrating from another toolset.

I have a project that uses banked codespace, with a common from 0x00000-0x07FFF, and two banks from 0x08000-0x0FFFF. I have three subroutines that I need to locate at the end of each section.

SUB_COMMON is being placed in Common.
SUB_BANK0 is being placed in Bank0
SUB_BANK1 is being placed in Bank1

The appropriate bank assignments have been made.

Target Options, BL51 Locate tab, Code directive SUB_COMMON(07F56) places SUB_COMMON in the right place in the Common section.

SUB_BANK0(0FFFA) appears to try and place it at 0x0FFFA in the Common section, and not in the Bank0 section.

SUB_BANK0(C0:0FFFA) generates a linker syntax error.