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

Model large - command line option

hello all,

In keil 8bit compiler i am unable to find a command line option which will specify the starting address & the size of XRAM.

Can anyone help me out by giving the control directive to specify the size & starting address of XRAM?

This is needed because i am compiling the program with model large.

Thanks in advance,
Chris

Parents
  • "In keil 8bit compiler i am unable to find a command line option which will specify the starting address & the size of XRAM."

    That's because it's a Linker option - not a compiler option.
    You need to look in the Linker manual.

    Note that uVision shows you the command line options that it uses - so you could just set up your requirements in uVision, and use the resulting options...

Reply
  • "In keil 8bit compiler i am unable to find a command line option which will specify the starting address & the size of XRAM."

    That's because it's a Linker option - not a compiler option.
    You need to look in the Linker manual.

    Note that uVision shows you the command line options that it uses - so you could just set up your requirements in uVision, and use the resulting options...

Children
No data