OH51: KEEPING HEX RECORDS IN ORDER
Information in this article applies to:
OH51 doesn't seem to generate Intel HEX records that are in address order. This causes havoc with the emulator I use. Is there a way around this problem?
This is correct operation of OH51. There is nothing in the Intel HEX specification that stated that the records must be in any specific order.
The easiest resolution to this problem is to use the MS-DOS SORT utility to sort the records into a new HEX file. To do this.
Note that only Intel HEX-86 files may be sorted using this method. HEX-286 and HEX-386 files have segment records that will get located incorrectly using this technique. See knowledgebase article GENERAL: SORTING INTEL HEX FILES for a more robust/easier method.
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Wednesday, September 21, 2016
of your data.