EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t8904: COFF import module for 32bit Windows links OMF import module


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