EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t9222: LIBCOF import library for 32bit Windows links LIBCOF import library


Source & expected listing t9222.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7439323232 |%test %SET t9222 | |;; | |;; Create auxilliary LIBCOF import library. | |%test.coff PROGRAM FORMAT=LIBCOF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.coff | **** ListMap "t9222.coff.lib",model=FLAT,groups=0,segments=0,entry=,stack= | **** ListGlobals "t9222.coff.lib",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t9222.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t9222.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t9222.dll" | |;; | |;; Create the main LIBCOF import library. | |%test PROGRAM FORMAT=LIBCOF | | GLOBAL Write.W32,Beep.W32,Exit.W32 | | LINK %test.coff.lib | | ENDPROGRAM %test |# I0561 Linking LIBCOF library ".\t9222.coff.lib". | **** ListMap "t9222.lib",model=FLAT,groups=0,segments=0,entry=,stack= | **** ListGlobals "t9222.lib",Global=0,Public=0,Extern=3,eXport=0,Import=0 | Beep.W32,[Beep.W32]:00000000h,scope='E' | Exit.W32,[Exit.W32]:00000000h,scope='E' | Write.W32,[Write.W32]:00000000h,scope='E'
Expected messages t9222.out
I0180 Assembling source file "t9222.htm". I0270 Assembling source "t9222". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t9222.coff". "t9222.htm"{45} I0510 Assembling program pass 1. "t9222.htm"{45} I0510 Assembling program pass 2. "t9222.htm"{45} I0530 Assembling program pass 3 - final. "t9222.htm"{45} I0660 32bit FLAT LIBCOF file "t9222.coff.lib" created, size=587. "t9222.htm"{47} I0650 Program "t9222.coff" assembled in 3 passes with errorlevel 0. "t9222.htm"{47} I0470 Assembling program "t9222". "t9222.htm"{55} I0510 Assembling program pass 1. "t9222.htm"{55} I0510 Assembling program pass 2. "t9222.htm"{55} I0530 Assembling program pass 3 - final. "t9222.htm"{55} I0561 Linking LIBCOF library ".\t9222.coff.lib". "t9222.htm"{58} I0660 32bit FLAT LIBCOF file "t9222.lib" created, size=587. "t9222.htm"{58} I0650 Program "t9222" assembled in 3 passes with errorlevel 0. "t9222.htm"{58} I0750 Source "t9222" (131 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t9222.htm.lst" created, size=1474. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t9222. lib
0000: 21 3C 61 72 63 68 3E 0A 2F 20 20 20 20 20 20 20  !<arch>¬/¯¯¯¯¯¯¯
0010: 20 20 20 20 20 20 20 20 30 20 20 20 20 20 20 20  ¯¯¯¯¯¯¯¯0¯¯¯¯¯¯¯
0020: 20 20 20 20 30 20 20 20 20 20 30 20 20 20 20 20  ¯¯¯¯0¯¯¯¯¯0¯¯¯¯¯
0030: 31 30 30 36 36 36 20 20 34 34 20 20 20 20 20 20  100666¯¯44¯¯¯¯¯¯
0040: 20 20 60 0A 00 00 00 03 00 00 01 20 00 00 01 84  ¯¯`¬°°°·°°·¯°°·¤
0050: 00 00 01 E8 57 72 69 74 65 2E 57 33 32 00 42 65  °°·¤Write.W32°Be
0060: 65 70 2E 57 33 32 00 45 78 69 74 2E 57 33 32 00  ep.W32°Exit.W32°
0070: 2F 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20  /¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
0080: 30 20 20 20 20 20 20 20 20 20 20 20 30 20 20 20  0¯¯¯¯¯¯¯¯¯¯¯0¯¯¯
0090: 20 20 30 20 20 20 20 20 31 30 30 36 36 36 20 20  ¯¯0¯¯¯¯¯100666¯¯
00A0: 35 34 20 20 20 20 20 20 20 20 60 0A 03 00 00 00  54¯¯¯¯¯¯¯¯`¬·°°°
00B0: 20 01 00 00 84 01 00 00 E8 01 00 00 03 00 00 00  ¯·°°¤·°°¤·°°·°°°
00C0: 02 00 03 00 01 00 42 65 65 70 2E 57 33 32 00 45  ·°·°·°Beep.W32°E
00D0: 78 69 74 2E 57 33 32 00 57 72 69 74 65 2E 57 33  xit.W32°Write.W3
00E0: 32 00 2F 2F 20 20 20 20 20 20 20 20 20 20 20 20  2°//¯¯¯¯¯¯¯¯¯¯¯¯
00F0: 20 20 30 20 20 20 20 20 20 20 20 20 20 20 30 20  ¯¯0¯¯¯¯¯¯¯¯¯¯¯0¯
0100: 20 20 20 20 30 20 20 20 20 20 31 30 30 36 36 36  ¯¯¯¯0¯¯¯¯¯100666
0110: 20 20 32 20 20 20 20 20 20 20 20 20 60 0A 00 0A  ¯¯2¯¯¯¯¯¯¯¯¯`¬°¬
0120: 57 72 69 74 65 2E 57 33 32 2F 20 20 20 20 20 20  Write.W32/¯¯¯¯¯¯
0130: 30 20 20 20 20 20 20 20 20 20 20 20 30 20 20 20  0¯¯¯¯¯¯¯¯¯¯¯0¯¯¯
0140: 20 20 30 20 20 20 20 20 31 30 30 36 36 36 20 20  ¯¯0¯¯¯¯¯100666¯¯
0150: 34 30 20 20 20 20 20 20 20 20 60 0A 00 00 FF FF  40¯¯¯¯¯¯¯¯`¬°°¤¤
0160: 00 00 4C 01 00 00 00 00 14 00 00 00 00 00 04 00  °°L·°°°°·°°°°°·°
0170: 57 72 69 74 65 2E 57 33 32 00 74 39 32 32 32 2E  Write.W32°t9222.
0180: 64 6C 6C 00 42 65 65 70 2E 57 33 32 2F 20 20 20  dll°Beep.W32/¯¯¯
0190: 20 20 20 20 30 20 20 20 20 20 20 20 20 20 20 20  ¯¯¯¯0¯¯¯¯¯¯¯¯¯¯¯
01A0: 30 20 20 20 20 20 30 20 20 20 20 20 31 30 30 36  0¯¯¯¯¯0¯¯¯¯¯1006
01B0: 36 36 20 20 33 39 20 20 20 20 20 20 20 20 60 0A  66¯¯39¯¯¯¯¯¯¯¯`¬
01C0: 00 00 FF FF 00 00 4C 01 00 00 00 00 13 00 00 00  °°¤¤°°L·°°°°·°°°
01D0: 00 00 04 00 42 65 65 70 2E 57 33 32 00 74 39 32  °°·°Beep.W32°t92
01E0: 32 32 2E 64 6C 6C 00 10 45 78 69 74 2E 57 33 32  22.dll°·Exit.W32
01F0: 2F 20 20 20 20 20 20 20 30 20 20 20 20 20 20 20  /¯¯¯¯¯¯¯0¯¯¯¯¯¯¯
0200: 20 20 20 20 30 20 20 20 20 20 30 20 20 20 20 20  ¯¯¯¯0¯¯¯¯¯0¯¯¯¯¯
0210: 31 30 30 36 36 36 20 20 33 39 20 20 20 20 20 20  100666¯¯39¯¯¯¯¯¯
0220: 20 20 60 0A 00 00 FF FF 00 00 4C 01 00 00 00 00  ¯¯`¬°°¤¤°°L·°°°°
0230: 13 00 00 00 00 00 04 00 45 78 69 74 2E 57 33 32  ·°°°°°·°Exit.W32
0240: 00 74 39 32 32 32 2E 64 6C 6C 00                 °t9222.dll°

▲Back to the top▲