Object Save and Load

IRTC, when in the Host mode, will compile an application very quickly. However, when it has been written and debugged, it may be desirable to save the resultant code.

This may be done with HEX-SAVE.

The start and end addresses are calculated and given to HEX-SAVE with a filename. The file extension .HEX is automatically appended to the filename.

Use: $0000 $0FFF HEX-SAVE APPL

The code is saved in the INTELLEC format, and may be copied to a programmer from DOS.

Saved code may be re-loaded into the Host Target image with HEX-LOAD. Again no file extension is required.

A * is shown for every 1k of code loaded, and a checksum of the code is given at the end.

Note: The addresses used by HEX-LOAD and HEX-SAVE are byte addresses not word. To save your total application use;

 ROM-START ROM-END HEX-SAVE APPL

Also the .HEX file may be loaded into MPLAB and simulated.

 

Contents