comparison src/lwasm.h @ 67:d5fe306f1ab1

Fixed numerous bugs in macro handling
author lost
date Mon, 05 Jan 2009 05:40:33 +0000
parents aaddd47219b4
children c8c772ef5df9
comparison
equal deleted inserted replaced
66:aa9d9fedfdf4 67:d5fe306f1ab1
66 int codesize; // the size of the code buffer 66 int codesize; // the size of the code buffer
67 int codeaddr; // address the code goes at 67 int codeaddr; // address the code goes at
68 int nocodelen; // for "RMB" type instructions 68 int nocodelen; // for "RMB" type instructions
69 int addrset; // set if this instruction sets the assembly address 69 int addrset; // set if this instruction sets the assembly address
70 int symaddr; // set if this instruction sets a symbol addr with EQU or the like 70 int symaddr; // set if this instruction sets a symbol addr with EQU or the like
71 int badop; // bad operation - ignore it
71 }; 72 };
72 73
73 // for keeping track of symbols 74 // for keeping track of symbols
74 #define SYMBOL_SET 1 // the symbol was used for "SET" 75 #define SYMBOL_SET 1 // the symbol was used for "SET"
75 #define SYMBOL_NORM 0 // no flags 76 #define SYMBOL_NORM 0 // no flags