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?
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.