comparison lwasm/lwasm.h @ 321:d4ac484d0ec6

Add support for Motorola SREC and Intel Hex output formats to lwasm. Add support for creating SREC (--format=srec), Intel Hex (--format=ihex), and a generic hexadecimal (--format=hex) output formats.
author Tom LeMense <tlemense@yahoo.com>
date Mon, 03 Mar 2014 21:30:38 -0700
parents d0e9dbe9afbe
children 507f442dc71e
comparison
equal deleted inserted replaced
320:a640ff4ed95f 321:d4ac484d0ec6
51 { 51 {
52 OUTPUT_DECB = 0, // DECB multirecord format 52 OUTPUT_DECB = 0, // DECB multirecord format
53 OUTPUT_RAW, // raw sequence of bytes 53 OUTPUT_RAW, // raw sequence of bytes
54 OUTPUT_OBJ, // proprietary object file format 54 OUTPUT_OBJ, // proprietary object file format
55 OUTPUT_RAWREL, // raw bytes where ORG causes a SEEK in the file 55 OUTPUT_RAWREL, // raw bytes where ORG causes a SEEK in the file
56 OUTPUT_OS9 // os9 module target 56 OUTPUT_OS9, // os9 module target
57 OUTPUT_SREC, // motorola SREC format
58 OUTPUT_IHEX, // intel hex format
59 OUTPUT_HEX // generic hexadecimal format
57 }; 60 };
58 61
59 enum lwasm_target_e 62 enum lwasm_target_e
60 { 63 {
61 TARGET_6309 = 0, // target 6309 CPU 64 TARGET_6309 = 0, // target 6309 CPU