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

load char into program memory

I'm wrtting a 'C' program and need to embed an 'F' at location 0x1000 and 0x8000 in program memory. Could someone show me how to do it? I've looked thru the C51 and the A51 manual - no joy.

Parents
  • You can do it if you really understand the Keil Software — C51 Compiler User's Guide (p. 161) Linker Location Controls section. Specifically the BL51 line option 'CODE'. Very difficult syntax but you should be able to put two char's in code space in separate files and then tell BL51 to place them at 0x1000 and 0x8000 respectively.

    - Mark

Reply
  • You can do it if you really understand the Keil Software — C51 Compiler User's Guide (p. 161) Linker Location Controls section. Specifically the BL51 line option 'CODE'. Very difficult syntax but you should be able to put two char's in code space in separate files and then tell BL51 to place them at 0x1000 and 0x8000 respectively.

    - Mark

Children
No data