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

Fixed adreess constant

Hi,
I write a funcion named IAP and put it in a fixed adress using de "BL51 Locate" table as below:

Code: ?PR?Switch_Flash?Iap_asm(0x1000)

Now I want to put a constant in a fixed adress. How can I make it together with de directive above? I try to separet both with ";" and "," bu it doesn't work!

Example:
unsigned char code Tab1 = 0x55;

BL51 Locate:
Code: ?PR?Switch_Flash?Iap_asm(0x1000) ; ?CO?Tab1(08000h).

Anybody can help me please?
Thanks

0