EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t8909: COFF import module for 32bit Windows links LIBOMF import library


Source & expected listing t8909.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7438393039 |%test %SET t8909 | |;; | |;; Create auxilliary LIBOMF import library. | |%test.omf PROGRAM FORMAT=LIBOMF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.omf | **** ListMap "t8909.omf.lib",model=SMALL,groups=0,segments=0,entry=,stack= | **** ListGlobals "t8909.omf.lib",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8909.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8909.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8909.dll" | |;; | |;; Create the main COFF import module. | |%test PROGRAM FORMAT=COFF | | GLOBAL Write.W32,Beep.W32,Exit.W32 | | LINK %test.omf.lib | | ENDPROGRAM %test |# I0561 Linking LIBOMF library ".\t8909.omf.lib". | **** ListMap "t8909.obj",model=FLAT,groups=0,segments=1,entry=,stack= | [.drectve],FA=0000003Ch,RVA=00000000h,size=00000058h=88,width=0,align=1,purpose=DRECTVE | **** ListGlobals "t8909.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8909.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8909.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8909.dll"
Expected messages t8909.out
I0180 Assembling source file "t8909.htm". I0270 Assembling source "t8909". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t8909.omf". "t8909.htm"{45} I0510 Assembling program pass 1. "t8909.htm"{45} I0510 Assembling program pass 2. "t8909.htm"{45} I0530 Assembling program pass 3 - final. "t8909.htm"{45} I0660 16bit SMALL LIBOMF file "t8909.omf.lib" created, size=1536. "t8909.htm"{47} I0650 Program "t8909.omf" assembled in 3 passes with errorlevel 0. "t8909.htm"{47} I0470 Assembling program "t8909". "t8909.htm"{55} I0510 Assembling program pass 1. "t8909.htm"{55} I0510 Assembling program pass 2. "t8909.htm"{55} I0530 Assembling program pass 3 - final. "t8909.htm"{55} I0561 Linking LIBOMF library ".\t8909.omf.lib". "t8909.htm"{58} I0660 32bit FLAT COFF file "t8909.obj" created, size=288. "t8909.htm"{58} I0650 Program "t8909" assembled in 3 passes with errorlevel 0. "t8909.htm"{58} I0750 Source "t8909" (113 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t8909.htm.lst" created, size=1612. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t8909. 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 30 39 2E 64 6C 6C 22 20 2F 49 4D 50 4F  t8909.dll"¯/IMPO
0060: 52 54 3A 42 65 65 70 2E 57 33 32 3A 22 74 38 39  RT:Beep.W32:"t89
0070: 30 39 2E 64 6C 6C 22 20 2F 49 4D 50 4F 52 54 3A  09.dll"¯/IMPORT:
0080: 45 78 69 74 2E 57 33 32 3A 22 74 38 39 30 39 2E  Exit.W32:"t8909.
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 30 39 2E 68 74 6D 00  ¤¤°°g·t8909.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▲