comparison lwasm/lwasm.h @ 343:98f3e016cfd8

Add pragma to turn off forward reference optimization Much source code doesn't benefit much, if at all, from forward reference optimization. Add "pragma forwardrefmax" to turn off such optimization in the event that it is not required and long assembly times result.
author William Astle <lost@l-w.ca>
date Mon, 16 Mar 2015 09:27:20 -0600
parents 5d401d1eb3e9
children 4130ffdeb5c8
comparison
equal deleted inserted replaced
342:12e2453f8417 343:98f3e016cfd8
88 PRAGMA_NOLIST = 0x0080, // don't show line in listing 88 PRAGMA_NOLIST = 0x0080, // don't show line in listing
89 PRAGMA_AUTOBRANCHLENGTH = 0x0100, // automatically select proper length for relative branches 89 PRAGMA_AUTOBRANCHLENGTH = 0x0100, // automatically select proper length for relative branches
90 PRAGMA_EXPORT = 0x0200, // export symbols by default, unless local 90 PRAGMA_EXPORT = 0x0200, // export symbols by default, unless local
91 PRAGMA_SYMBOLNOCASE = 0x400, // symbols defined under this pragma are matched case insensitively 91 PRAGMA_SYMBOLNOCASE = 0x400, // symbols defined under this pragma are matched case insensitively
92 PRAGMA_CONDUNDEFZERO = 0x800, // treat undefined symbols as zero in conditionals during pass 1 92 PRAGMA_CONDUNDEFZERO = 0x800, // treat undefined symbols as zero in conditionals during pass 1
93 PRAGMA_6800COMPAT = 0x1000 // enable 6800 compatibility opcodes 93 PRAGMA_6800COMPAT = 0x1000, // enable 6800 compatibility opcodes
94 PRAGMA_FORWARDREFMAX = 0x2000 // force incomplete references on pass 1 to maximum mode
94 }; 95 };
95 96
96 97
97 enum 98 enum
98 { 99 {