Keil Logo

Using Monitor-51

If you want to test a C program using MON51, and if MON51 is installed at code address 0000h, consider the following rules:

  • When you build the monitor, you must correctly specify the redirected reset and interrupt vector address to the monitor by editing the INT_ADR_OFF definition in the INSTALL.A51 monitor configuration file.
  • All C modules in your target program which contain interrupt functions must be translated with the INTVECTOR directive.
  • You must include the startup code in your project after changing the statement CSEG AT 0 to CSEG AT xxxx where xxxx is the redirected reset vector.
  • You must direct the linker to locate all code segments starting at the new reset address.

Refer to C51: SETTING PROGRAM START ADDRESS for more information.

Related Knowledgebase Articles

  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.