comparison src/pass2.c @ 44:2330b88f9600

Added simple output listing
author lost
date Sun, 04 Jan 2009 06:52:18 +0000
parents b33eca135258
children 04868fa52a15
comparison
equal deleted inserted replaced
43:b33eca135258 44:2330b88f9600
30 30
31 void lwasm_pass2(asmstate_t *as) 31 void lwasm_pass2(asmstate_t *as)
32 { 32 {
33 lwasm_line_t *l; 33 lwasm_line_t *l;
34 34
35 debug_message(1, "Entering pass 2");
35 as -> passnum = 2; 36 as -> passnum = 2;
36 as -> addr = 0; 37 as -> addr = 0;
37 38
38 // iterate over all the lines and re-parse them 39 // iterate over all the lines and re-parse them
39 for (l = as -> lineshead; l; l = l -> next) 40 for (l = as -> lineshead; l; l = l -> next)