MPASM Version 3.00 Beta Release   UNDEF1.ASM   01/31/2001  12:15:13	   PAGE 1


LOC  OBJECT CODE     LINE SOURCE TEXT
  VALUE

                        00001 ; UNDEF1.ASM
                        00002 
                        00003 ; This file tests the legal usage of the UNDEFINE directive.
                        00004 
                        00005         LIST    P=17C42
                        00006 
                        00007 #define Def2    1       ; Define
0000     0001           00008         DATA    Def2
                        00009 #undefine Def2
                        00010         IFDEF Def2
                        00011            ERROR        "Symbol should not be defined"
                        00012         ELSE
0001     4F4B           00013            DATA "OK"
                        00014         ENDIF 
                        00015 
                        00016 #define Def2    2       ; Redefine
0002     0002           00017         DATA    Def2
                        00018 #undefine Def2
                        00019         IFDEF Def2
                        00020            ERROR        "Symbol should not be defined"
                        00021         ELSE
0003     4F4B           00022            DATA "OK"
                        00023         ENDIF 
                        00024 
                        00025         END
MPASM Version 3.00 Beta Release   UNDEF1.ASM   01/31/2001  12:15:13	   PAGE 2


SYMBOL TABLE
  LABEL                             VALUE 

__17C42                           00000001


MEMORY USAGE MAP ('X' = Used,  '-' = Unused)

0000 : XXXX------------ ---------------- ---------------- ----------------

All other memory blocks unused.

Program Memory Words Used:     4


Errors   :     0
Warnings :     0 reported,     0 suppressed
Messages :     0 reported,     0 suppressed

