Mercurial > hg-old > index.cgi
comparison src/lwasm.h @ 49:21ae0fab469b
Added needed infra for useful listing of EQU and ORG type statements
author | lost |
---|---|
date | Sun, 04 Jan 2009 07:37:19 +0000 |
parents | b962cee20bf4 |
children | 360d53062bb9 |
comparison
equal
deleted
inserted
replaced
48:6de358e7903f | 49:21ae0fab469b |
---|---|
53 unsigned char *bytes; // actual bytes emitted | 53 unsigned char *bytes; // actual bytes emitted |
54 int codelen; // number of bytes emitted | 54 int codelen; // number of bytes emitted |
55 int codesize; // the size of the code buffer | 55 int codesize; // the size of the code buffer |
56 int codeaddr; // address the code goes at | 56 int codeaddr; // address the code goes at |
57 int nocodelen; // for "RMB" type instructions | 57 int nocodelen; // for "RMB" type instructions |
58 int addrset; // set if this instruction sets the assembly address | |
59 int symaddr; // set if this instruction sets a symbol addr with EQU or the like | |
58 }; | 60 }; |
59 | 61 |
60 // for keeping track of symbols | 62 // for keeping track of symbols |
61 typedef struct lwasm_symbol_ent_s lwasm_symbol_ent_t; | 63 typedef struct lwasm_symbol_ent_s lwasm_symbol_ent_t; |
62 struct lwasm_symbol_ent_s | 64 struct lwasm_symbol_ent_s |