comparison src/lwasm.h @ 44:2330b88f9600

Added simple output listing
author lost
date Sun, 04 Jan 2009 06:52:18 +0000
parents 4bb7b723e5b7
children b962cee20bf4
comparison
equal deleted inserted replaced
43:b33eca135258 44:2330b88f9600
51 int fsize; // forced size (0 = no forced size) 51 int fsize; // forced size (0 = no forced size)
52 char *sym; // scratch area to record the presence of a symbol 52 char *sym; // scratch area to record the presence of a symbol
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 }; 57 };
57 58
58 // for keeping track of symbols 59 // for keeping track of symbols
59 typedef struct lwasm_symbol_ent_s lwasm_symbol_ent_t; 60 typedef struct lwasm_symbol_ent_s lwasm_symbol_ent_t;
60 struct lwasm_symbol_ent_s 61 struct lwasm_symbol_ent_s