Mercurial > hg > index.cgi
diff lwasm/pseudo.c @ 543:e10618b48e68
Implement support for dragon format binaries
Implement support for dragon format binaries. As an added bonus,
also implement a variation on raw binaries which guarantees the
whole binary fits in the file. These are the "dragon" and "abs"
output formats.
Based on code submitted by Mike Miller.
author | William Astle <lost@l-w.ca> |
---|---|
date | Thu, 29 Sep 2022 13:59:42 -0600 |
parents | 56c32bc798f8 |
children | ddc7b05a5675 |
line wrap: on
line diff
--- a/lwasm/pseudo.c Wed Aug 17 17:06:30 2022 -0600 +++ b/lwasm/pseudo.c Thu Sep 29 13:59:42 2022 -0600 @@ -102,7 +102,7 @@ as->endseen = 1; - if ((as -> output_format != OUTPUT_DECB) && (as -> output_format != OUTPUT_BASIC) && (as -> output_format != OUTPUT_LWMOD && (as -> output_format != OUTPUT_IHEX) && (as -> output_format != OUTPUT_SREC))) + if ((as -> output_format != OUTPUT_DECB) && (as -> output_format != OUTPUT_BASIC) && (as -> output_format != OUTPUT_LWMOD) && (as -> output_format != OUTPUT_IHEX) && (as -> output_format != OUTPUT_SREC) && (as -> output_format != OUTPUT_DRAGON) && (as -> output_format != OUTPUT_ABS)) { skip_operand(p); return;