Mercurial > hg > index.cgi
comparison lwasm/pragma.c @ 473:8181ddd707f1
Add "nooutput" pragma
Add the "nooutput" pragma which causes assembly to proceed as normal for
code with the exception that no output is generated for any instructions
under this pragma. The current address is increased as usual and the symbol
table is still constructed. However, no actual output is generated for lines
operating under this pragma.
author | William Astle <lost@l-w.ca> |
---|---|
date | Thu, 01 Nov 2018 23:07:03 -0600 |
parents | e97f9a302c6a |
children | 74d0c394666e |
comparison
equal
deleted
inserted
replaced
472:e97f9a302c6a | 473:8181ddd707f1 |
---|---|
74 { "6309conv", "no6309conv", PRAGMA_6309CONV }, | 74 { "6309conv", "no6309conv", PRAGMA_6309CONV }, |
75 { "newsource", "nonewsource", PRAGMA_NEWSOURCE }, | 75 { "newsource", "nonewsource", PRAGMA_NEWSOURCE }, |
76 { "nooldsource", "oldsource", PRAGMA_NEWSOURCE }, | 76 { "nooldsource", "oldsource", PRAGMA_NEWSOURCE }, |
77 { "operandsizewarning", "nooperandsizewarning", PRAGMA_OPERANDSIZE }, | 77 { "operandsizewarning", "nooperandsizewarning", PRAGMA_OPERANDSIZE }, |
78 { "emuext", "noemuext", PRAGMA_EMUEXT }, | 78 { "emuext", "noemuext", PRAGMA_EMUEXT }, |
79 { "nooutput", "output", PRAGMA_NOOUTPUT }, | |
79 { 0, 0, 0 } | 80 { 0, 0, 0 } |
80 }; | 81 }; |
81 | 82 |
82 int parse_pragma_helper(char *p) | 83 int parse_pragma_helper(char *p) |
83 { | 84 { |