EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

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


Source & expected listing t8922.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7438393232 |%test %SET t8922 | |;; | |;; Create auxilliary LIBCOF import library. | |%test.coff PROGRAM FORMAT=LIBCOF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.coff | **** ListMap "t8922.coff.lib",model=FLAT,groups=0,segments=0,entry=,stack= | **** ListGlobals "t8922.coff.lib",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8922.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8922.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8922.dll" | |;; | |;; Create the main COFF import module. | |%test PROGRAM FORMAT=COFF | | GLOBAL Write.W32,Beep.W32,Exit.W32 | | LINK %test.coff.lib | | ENDPROGRAM %test |# I0561 Linking LIBCOF library ".\t8922.coff.lib". | **** ListMap "t8922.obj",model=FLAT,groups=0,segments=1,entry=,stack= | [.drectve],FA=0000003Ch,RVA=00000000h,size=00000058h=88,width=0,align=1,purpose=DRECTVE | **** ListGlobals "t8922.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8922.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8922.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8922.dll"
Expected messages t8922.out
I0180 Assembling source file "t8922.htm". I0270 Assembling source "t8922". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t8922.coff". "t8922.htm"{45} I0510 Assembling program pass 1. "t8922.htm"{45} I0510 Assembling program pass 2. "t8922.htm"{45} I0530 Assembling program pass 3 - final. "t8922.htm"{45} I0660 32bit FLAT LIBCOF file "t8922.coff.lib" created, size=587. "t8922.htm"{47} I0650 Program "t8922.coff" assembled in 3 passes with errorlevel 0. "t8922.htm"{47} I0470 Assembling program "t8922". "t8922.htm"{55} I0510 Assembling program pass 1. "t8922.htm"{55} I0510 Assembling program pass 2. "t8922.htm"{55} I0530 Assembling program pass 3 - final. "t8922.htm"{55} I0561 Linking LIBCOF library ".\t8922.coff.lib". "t8922.htm"{58} I0660 32bit FLAT COFF file "t8922.obj" created, size=288. "t8922.htm"{58} I0650 Program "t8922" assembled in 3 passes with errorlevel 0. "t8922.htm"{58} I0750 Source "t8922" (113 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t8922.htm.lst" created, size=1617. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t8922. obj
0000: 4C 01 01 00 00 00 00 00 94 00 00 00 07 00 00 00  L··°°°°°¤°°°·°°°
0010: 00 00 00 01 2E 64 72 65 63 74 76 65 00 00 00 00  °°°·.drectve°°°°
0020: 00 00 00 00 58 00 00 00 3C 00 00 00 00 00 00 00  °°°°X°°°<°°°°°°°
0030: 00 00 00 00 00 00 00 00 00 0A 10 02 20 2F 49 4D  °°°°°°°°°¬··¯/IM
0040: 50 4F 52 54 3A 57 72 69 74 65 2E 57 33 32 3A 22  PORT:Write.W32:"
0050: 74 38 39 32 32 2E 64 6C 6C 22 20 2F 49 4D 50 4F  t8922.dll"¯/IMPO
0060: 52 54 3A 42 65 65 70 2E 57 33 32 3A 22 74 38 39  RT:Beep.W32:"t89
0070: 32 32 2E 64 6C 6C 22 20 2F 49 4D 50 4F 52 54 3A  22.dll"¯/IMPORT:
0080: 45 78 69 74 2E 57 33 32 3A 22 74 38 39 32 32 2E  Exit.W32:"t8922.
0090: 64 6C 6C 22 2E 66 69 6C 65 00 00 00 00 00 00 00  dll".file°°°°°°°
00A0: FE FF 00 00 67 01 74 38 39 32 32 2E 68 74 6D 00  ¤¤°°g·t8922.htm°
00B0: 00 00 00 00 00 00 00 00 2E 64 72 65 63 74 76 65  °°°°°°°°.drectve
00C0: 00 00 00 00 01 00 00 00 03 01 58 00 00 00 00 00  °°°°·°°°··X°°°°°
00D0: 00 00 00 00 00 00 00 00 00 00 00 00 42 65 65 70  °°°°°°°°°°°°Beep
00E0: 2E 57 33 32 00 00 00 00 00 00 01 01 02 00 45 78  .W32°°°°°°···°Ex
00F0: 69 74 2E 57 33 32 00 00 00 00 00 00 01 01 02 00  it.W32°°°°°°···°
0100: 00 00 00 00 04 00 00 00 00 00 00 00 00 00 01 01  °°°°·°°°°°°°°°··
0110: 02 00 0E 00 00 00 57 72 69 74 65 2E 57 33 32 00  ·°·°°°Write.W32°

▲Back to the top▲