How can I set default value for code base variable at located absolute memory? In Franklin C51: at 0x00F0 code BYTE verMajor = 1; Please Help....
BYTE code verMajor _at_ 0x00F0 = 1; Error C274 : Absolute specifier illegal!! *_*
"Absolute specifier illegal!!" The Manual clearly states why - read the note at the foot of the page!!
Thank you ^_^
If you are using LX51, this is the place to look: http://www.keil.com/support/docs/2307.htm But I must admit that I cannot get this to work. I keep getting:
ERROR L108: SEGMENT IN LOCATING CONTROL CANNOT BE ALLOCATED
ERROR L120: CONTENT BELONGS TO ERRONEOUS SEGMENT