This chapter describes the Intel Hex output module which can be selected with the -Fihex option.

Legal
=====

This module is written in 2020 by Rida Dzhaafar and is covered by the vasm copyright without modifications.

Additional options for this module
==================================

-crlf
     Enforce Carriage-Return and Line-Feed ("\r\n") line endings. Default is to use the host's line endings.

-i8hex
     Selects a format supporting 16-bit address space (default).

-i16hex
     Selects a format supporting 20-bit address space.

-i32hex
     Selects a format supporting 32-bit address space.

-record-size=<n>
     Sets the number of bytes per record to n. Defaults to 32 bytes.

General
=======

This output module outputs the contents of all sections in Intel hex format, which is a simple ASCII output of hexadecimal digits.

Known Problems
==============

Some known problems of this module at the moment:

  - None?

Error Messages
==============

This module has the following error messages:

  - 3001: sections <%s>:%llx-%llx and <%s>:%llx-%llx must not overlap

  - 3002: output module doesn't support cpu %s

  - 3007: undefined symbol <%s>

  - 3012: address 0x%llx out of range for selected format