15.16. Hex Conversion Utility Examples

The flexible hex conversion utility offers many options and capabilities. Once you understand the proper ways to configure your EPROM system and the requirements of the EPROM programmer, you will find that converting a file for a specific application is easy.

The three scenarios in this appendix show how to develop a hex conversion command file for avoiding holes, using 16-BIS (16-bit instruction set) code, and using multiple-EPROM systems. The scenarios use this assembly code:

**************************************************
* Assemble two words into section "secA"         *
**************************************************

    .sect "secA"
    .word 012345678h
    .word 0abcd1234h

**************************************************
* Assemble two words into section "secB"         *
**************************************************

    .sect "secB"
    .word 087654321h
    .word 04321dcbah