EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t2382: Pseudoinstruction GLOBAL, PUBLIC, EXTERN colon terminated


Description
Superfluous single or double colon terminator of GLOBAL, PUBLIC, EXTERN declaration is irrelevant. Duplicated declarations are tolerated.
Tested procedures
SymCreate  
Source & expected listing t2382.htm.lst
| | EUROASM LIST=ON,DUMP=ON,DUMPWIDTH=16 | |t2382 PROGRAM FORMAT=OMF,MODEL=SMALL,WIDTH=16,LISTMAP=OFF,LISTGLOBALS=ENABLED |[DATA] |[DATA] SEGMENT | |Glb1: GLOBAL | |Glb2:: GLOBAL | | GLOBAL Glb2,Glb3:,Glb4:: | |Pub5: PUBLIC | |Pub6:: PUBLIC Pub5,Pub6:,Pub7:: | |Ext8: EXTERN | | EXTERN Ext8:,Ext9:: |0000:3333 |Glb3:: DW 0x3333 |0002:5555 |Pub5:: DW 0x5555 |0004:6666 |Pub6: DW 0x6666 |0006:7777 |Pub7 DW 0x7777 | |ENDPROGRAM t2382 | **** ListGlobals "t2382.obj",Global=0,Public=4,Extern=5,eXport=0,Import=0 | Ext8,[Ext8]:00000000h,scope='E' | Ext9,[Ext9]:00000000h,scope='E' | Glb1,[Glb1]:00000000h,scope='E' | Glb2,[Glb2]:00000000h,scope='E' | Glb3,[DGROUP]:00000000h,scope='P' | Glb4,[Glb4]:00000000h,scope='E' | Pub5,[DGROUP]:00000002h,scope='P' | Pub6,[DGROUP]:00000004h,scope='P' | Pub7,[DGROUP]:00000006h,scope='P'
Expected messages t2382.out
I0180 Assembling source file "t2382.htm". I0270 Assembling source "t2382". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t2382". "t2382.htm"{53} I0510 Assembling program pass 1. "t2382.htm"{53} I0510 Assembling program pass 2. "t2382.htm"{53} I0530 Assembling program pass 3 - final. "t2382.htm"{53} I0660 16bit SMALL OMF file "t2382.obj" created, size=197. "t2382.htm"{66} I0650 Program "t2382" assembled in 3 passes with errorlevel 0. "t2382.htm"{66} I0750 Source "t2382" (95 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t2382.htm.lst" created, size=1100. I0990 EuroAssembler terminated with errorlevel 0.

▲Back to the top▲