EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t9215: LIBCOF import library for 32bit Windows links COFF import module


Source & expected listing t9215.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7439323135 |%test %SET t9215 | |;; Create auxilliary COFF import module. | |%test.coff PROGRAM FORMAT=COFF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.coff | **** ListMap "t9215.coff.obj",model=FLAT,groups=0,segments=1,entry=,stack= | [.drectve],FA=0000003Ch,RVA=00000000h,size=00000058h=88,width=0,align=1,purpose=DRECTVE | **** ListGlobals "t9215.coff.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t9215.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t9215.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t9215.dll" | |;; | |;; Create the main LIBCOF import library. | |%test PROGRAM FORMAT=LIBCOF | | LINK %test.coff.obj | | ENDPROGRAM %test |# I0560 Linking COFF module ".\t9215.coff.obj". |# I0563 Accepting link directive '/IMPORT:Write.W32:"t9215.dll"'. |# I0563 Accepting link directive '/IMPORT:Beep.W32:"t9215.dll"'. |# I0563 Accepting link directive '/IMPORT:Exit.W32:"t9215.dll"'. | **** ListMap "t9215.lib",model=FLAT,groups=0,segments=0,entry=,stack= | **** ListGlobals "t9215.lib",Global=0,Public=0,Extern=0,eXport=0,Import=0
Expected messages t9215.out
I0180 Assembling source file "t9215.htm". I0270 Assembling source "t9215". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t9215.coff". "t9215.htm"{44} I0510 Assembling program pass 1. "t9215.htm"{44} I0510 Assembling program pass 2. "t9215.htm"{44} I0530 Assembling program pass 3 - final. "t9215.htm"{44} I0660 32bit FLAT COFF file "t9215.coff.obj" created, size=288. "t9215.htm"{46} I0650 Program "t9215.coff" assembled in 3 passes with errorlevel 0. "t9215.htm"{46} I0470 Assembling program "t9215". "t9215.htm"{55} I0510 Assembling program pass 1. "t9215.htm"{55} I0530 Assembling program pass 2 - final. "t9215.htm"{55} I0560 Linking COFF module ".\t9215.coff.obj". "t9215.htm"{57} I0563 Accepting link directive '/IMPORT:Write.W32:"t9215.dll"'. "t9215.htm"{57} I0563 Accepting link directive '/IMPORT:Beep.W32:"t9215.dll"'. "t9215.htm"{57} I0563 Accepting link directive '/IMPORT:Exit.W32:"t9215.dll"'. "t9215.htm"{57} I0660 32bit FLAT LIBCOF file "t9215.lib" created, size=588. "t9215.htm"{57} I0650 Program "t9215" assembled in 2 passes with errorlevel 0. "t9215.htm"{57} I0750 Source "t9215" (132 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t9215.htm.lst" created, size=1519. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t9215. 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 42 65 65 70 2E 57 33 32 00 45 78 69  °°·¤Beep.W32°Exi
0060: 74 2E 57 33 32 00 57 72 69 74 65 2E 57 33 32 00  t.W32°Write.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: 01 00 02 00 03 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: 42 65 65 70 2E 57 33 32 2F 20 20 20 20 20 20 20  Beep.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: 33 39 20 20 20 20 20 20 20 20 60 0A 00 00 FF FF  39¯¯¯¯¯¯¯¯`¬°°¤¤
0160: 00 00 4C 01 00 00 00 00 13 00 00 00 00 00 04 00  °°L·°°°°·°°°°°·°
0170: 42 65 65 70 2E 57 33 32 00 74 39 32 31 35 2E 64  Beep.W32°t9215.d
0180: 6C 6C 00 10 45 78 69 74 2E 57 33 32 2F 20 20 20  ll°·Exit.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 45 78 69 74 2E 57 33 32 00 74 39 32  °°·°Exit.W32°t92
01E0: 31 35 2E 64 6C 6C 00 10 57 72 69 74 65 2E 57 33  15.dll°·Write.W3
01F0: 32 2F 20 20 20 20 20 20 30 20 20 20 20 20 20 20  2/¯¯¯¯¯¯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 34 30 20 20 20 20 20 20  100666¯¯40¯¯¯¯¯¯
0220: 20 20 60 0A 00 00 FF FF 00 00 4C 01 00 00 00 00  ¯¯`¬°°¤¤°°L·°°°°
0230: 14 00 00 00 00 00 04 00 57 72 69 74 65 2E 57 33  ·°°°°°·°Write.W3
0240: 32 00 74 39 32 31 35 2E 64 6C 6C 00              2°t9215.dll°

▲Back to the top▲