21,453
社区成员
发帖
与我相关
我的任务
分享
;// Debugging flag and macros
OPTION CASEMAP:NONE
;// debug flags
IF DEBUG
DEBUG_FILE = 1
ELSE
DEBUG_FILE = 0
ENDIF
....
1>Assembling...
1> Assembling: .\test.asm
1>.\dbg.inc(6) : error A2006: undefined symbol : DEBUG
1>.\dbg.inc(79) : error A2006: undefined symbol : DEBUG
1>.\test.asm(75) : error A2006: undefined symbol : DEBUG
1> DBGSTART(1): Macro Called From
1> .\test.asm(75): Main Line Code
1>.\test.asm(93) : error A2006: undefined symbol : DEBUG
;// Debugging flag and macros
OPTION CASEMAP:NONE
= 0001 DEBUG = 1
;// debug flags
IF DEBUG
= 0001 DEBUG_FILE = 1
ELSE
ENDIF
= 0000 DEBUG = 0
;// debug flags
IF DEBUG
ELSE
= 0000 DEBUG_FILE = 0
ENDIF