 | Cx51 User's Guide |  |
|
|
| Using Monitor-51If 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 |
|