Mercurial > hg > index.cgi
comparison lwasm/lwasm.h @ 142:697bc543368c
Implement distinction between . and * for OS9 modules
author | lost@l-w.ca |
---|---|
date | Fri, 19 Aug 2011 23:55:40 -0600 |
parents | 344cfc25afec |
children | fc8386b13399 |
comparison
equal
deleted
inserted
replaced
141:11ebce0183a5 | 142:697bc543368c |
---|---|
40 lwasm_expr_lineaddr = 2, // addr of ref'd line | 40 lwasm_expr_lineaddr = 2, // addr of ref'd line |
41 lwasm_expr_nextbp = 3, // next branch point | 41 lwasm_expr_nextbp = 3, // next branch point |
42 lwasm_expr_prevbp = 4, // previous branch point | 42 lwasm_expr_prevbp = 4, // previous branch point |
43 lwasm_expr_syment = 5, // symbol table entry | 43 lwasm_expr_syment = 5, // symbol table entry |
44 lwasm_expr_import = 6, // symbol import entry | 44 lwasm_expr_import = 6, // symbol import entry |
45 lwasm_expr_secbase = 7 // section base address | 45 lwasm_expr_secbase = 7, // section base address |
46 lwasm_expr_linedaddr = 8, // data address of the line | |
47 lwasm_expr_linedlen = 9 // data length of the line | |
46 }; | 48 }; |
47 | 49 |
48 enum lwasm_output_e | 50 enum lwasm_output_e |
49 { | 51 { |
50 OUTPUT_DECB = 0, // DECB multirecord format | 52 OUTPUT_DECB = 0, // DECB multirecord format |
145 }; | 147 }; |
146 | 148 |
147 struct line_s | 149 struct line_s |
148 { | 150 { |
149 lw_expr_t addr; // assembly address of the line | 151 lw_expr_t addr; // assembly address of the line |
152 lw_expr_t daddr; // data address of the line (os9 only) | |
150 int len; // the "size" this line occupies (address space wise) (-1 if unknown) | 153 int len; // the "size" this line occupies (address space wise) (-1 if unknown) |
154 int dlen; // the data "size" this line occupies (-1 if unknown) | |
151 int insn; // number of insn in insn table | 155 int insn; // number of insn in insn table |
152 int symset; // set if the line symbol was consumed by the instruction | 156 int symset; // set if the line symbol was consumed by the instruction |
153 char *sym; // symbol, if any, on the line | 157 char *sym; // symbol, if any, on the line |
154 unsigned char *output; // output bytes | 158 unsigned char *output; // output bytes |
155 int outputl; // size of output | 159 int outputl; // size of output |