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

PL/M-51

I have a PL/M-51 source file when I build it I get the following error

*** ERROR #211, PROGRAM CODE GREATER THAN 2047 BYTES, USE ROM(LARGE)

I have the memory model and the code rom size set to large. Any idea why I get this error?

Parents
  • You probably set LARGE inside the Keil IDE.
    That only applies to C und Assembler.

    For PL/M-51, you have to add ROM(LARGE) on the command line.

    Look in the workspace for the options of your PL/M file. You will see a 'custom arguments' line at the bottom, something like '... plm51 <src.p51> OJ(...) ...'
    Add ROM(LARGE) to that line.

Reply
  • You probably set LARGE inside the Keil IDE.
    That only applies to C und Assembler.

    For PL/M-51, you have to add ROM(LARGE) on the command line.

    Look in the workspace for the options of your PL/M file. You will see a 'custom arguments' line at the bottom, something like '... plm51 <src.p51> OJ(...) ...'
    Add ROM(LARGE) to that line.

Children
No data