Mercurial > hg > index.cgi
diff lwasm/instab.h @ 535:a584b9ddffc4
Update raw output to work with RMB only definitions at the start
It seems useful to be able to define a number of symbols at the start of the
source file without generating a run of NUL output. This update adjusts the
output to ignore any number of statements that generate no output as long as
there is a subsequent ORG statement. If there is no ORG statement after
them, the NUL sequence should still appear.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sat, 14 May 2022 21:30:59 -0600 |
parents | e97f9a302c6a |
children |
line wrap: on
line diff
--- a/lwasm/instab.h Sat May 14 13:05:43 2022 -0600 +++ b/lwasm/instab.h Sat May 14 21:30:59 2022 -0600 @@ -49,6 +49,7 @@ lwasm_insn_is6809conv = 1 << 8, /* insn is 6809 convenience only */ lwasm_insn_is6309conv = 1 << 9, /* insn is 6309 convenience only */ lwasm_insn_isemuext = 1 << 10, /* insn is an emulator extension */ + lwasm_insn_org = 1 << 11, /* insn sets assembly address */ lwasm_insn_normal = 0 };