Keil Logo

CX51: USING ECRM MODE ON PHILIPS MX2


Information in this article applies to:

  • C51 Version 7.11 or higher

QUESTION

Is the ECRM (Extended Call/Ret Mode) supported by Keil CX51 and the µVision Simulator?

ANSWER

Yes, this new mode is fully supported by the tools. To enable ECRM Mode you need to:

  1. Use the START_MX.A51 file version 1.03 or higher and enable the ECRM setting.
  2. Set Code Rom Size: "Huge: 8MB Program" under Options - Target.
  3. Set Linker Code Packing (max. AJMP/ACALL) under Options - CX51.

The LX51 Linker/Locater inserts RET instead of ERET and optimizes the ECALL instructions to ACALL or LCALL wherever possible.

Note that the ECRM Mode is currently available only on 8xC51MB2/MC2 devices.

SEE ALSO

Last Reviewed: Monday, May 3, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.