comparison 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
comparison
equal deleted inserted replaced
534:558ee362437e 535:a584b9ddffc4
47 lwasm_insn_is6800 = 1 << 6, /* insn is a 6800 compatibility operation */ 47 lwasm_insn_is6800 = 1 << 6, /* insn is a 6800 compatibility operation */
48 lwasm_insn_is6809 = 1 << 7, /* insn is 6809 only */ 48 lwasm_insn_is6809 = 1 << 7, /* insn is 6809 only */
49 lwasm_insn_is6809conv = 1 << 8, /* insn is 6809 convenience only */ 49 lwasm_insn_is6809conv = 1 << 8, /* insn is 6809 convenience only */
50 lwasm_insn_is6309conv = 1 << 9, /* insn is 6309 convenience only */ 50 lwasm_insn_is6309conv = 1 << 9, /* insn is 6309 convenience only */
51 lwasm_insn_isemuext = 1 << 10, /* insn is an emulator extension */ 51 lwasm_insn_isemuext = 1 << 10, /* insn is an emulator extension */
52 lwasm_insn_org = 1 << 11, /* insn sets assembly address */
52 lwasm_insn_normal = 0 53 lwasm_insn_normal = 0
53 }; 54 };
54 55
55 56
56 #define PARSEFUNC(fn) void (fn)(asmstate_t *as, line_t *l, char **p) 57 #define PARSEFUNC(fn) void (fn)(asmstate_t *as, line_t *l, char **p)