EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t8930: COFF import module for 32bit Windows links ELF import module


Source & expected listing t8930.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7438393330 |%test %SET t8930 | |;; Create auxilliary ELF import module. | |%test PROGRAM FORMAT=ELF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test | **** ListMap "t8930.o",model=FLAT,groups=0,segments=5,entry=,stack= | [],FA=00000000h,RVA=00000000h,size=00000000h=0,width=0,align=0,purpose= | [.symtab],FA=00000100h,RVA=00000000h,size=00000080h=128,width=0,align=0010h,purpose=SYMBOLS | [.drectve],FA=00000180h,RVA=00000000h,size=00000074h=116,width=0,align=4,purpose=DRECTVE | [.strtab],FA=000001F4h,RVA=00000000h,size=00000040h=64,width=0,align=1,purpose=STRINGS | [.shstrtab],FA=00000234h,RVA=00000000h,size=00000024h=36,width=0,align=1,purpose=STRINGS | **** ListGlobals "t8930.o",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8930.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8930.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8930.dll" | |;; | |;; Create the main COFF import module. | |%test PROGRAM FORMAT=COFF | | LINK %test.o | | ENDPROGRAM %test |# I0560 Linking ELF module ".\t8930.o". |# I0563 Accepting link directive '/IMPORT:Write.W32:"t8930.dll"'. |# I0563 Accepting link directive '/IMPORT:Beep.W32:"t8930.dll"'. |# I0563 Accepting link directive '/IMPORT:Exit.W32:"t8930.dll"'. | **** ListMap "t8930.obj",model=FLAT,groups=0,segments=1,entry=,stack= | [.drectve],FA=0000003Ch,RVA=00000000h,size=00000058h=88,width=0,align=1,purpose=DRECTVE | **** ListGlobals "t8930.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8930.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8930.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8930.dll"
Expected messages t8930.out
I0180 Assembling source file "t8930.htm". I0270 Assembling source "t8930". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t8930". "t8930.htm"{44} I0510 Assembling program pass 1. "t8930.htm"{44} I0510 Assembling program pass 2. "t8930.htm"{44} I0530 Assembling program pass 3 - final. "t8930.htm"{44} I0660 32bit FLAT ELF file "t8930.o" created, size=600. "t8930.htm"{46} I0650 Program "t8930" assembled in 3 passes with errorlevel 0. "t8930.htm"{46} I0470 Assembling program "t8930". "t8930.htm"{59} I0510 Assembling program pass 1. "t8930.htm"{59} I0530 Assembling program pass 2 - final. "t8930.htm"{59} I0560 Linking ELF module ".\t8930.o". "t8930.htm"{61} I0563 Accepting link directive '/IMPORT:Write.W32:"t8930.dll"'. "t8930.htm"{61} I0563 Accepting link directive '/IMPORT:Beep.W32:"t8930.dll"'. "t8930.htm"{61} I0563 Accepting link directive '/IMPORT:Exit.W32:"t8930.dll"'. "t8930.htm"{61} I0660 32bit FLAT COFF file "t8930.obj" created, size=288. "t8930.htm"{61} I0650 Program "t8930" assembled in 2 passes with errorlevel 0. "t8930.htm"{61} I0750 Source "t8930" (121 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t8930.htm.lst" created, size=2162. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t8930. 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 42 65 65 70 2E 57 33 32 3A 22 74  PORT:Beep.W32:"t
0050: 38 39 33 30 2E 64 6C 6C 22 20 2F 49 4D 50 4F 52  8930.dll"¯/IMPOR
0060: 54 3A 45 78 69 74 2E 57 33 32 3A 22 74 38 39 33  T:Exit.W32:"t893
0070: 30 2E 64 6C 6C 22 20 2F 49 4D 50 4F 52 54 3A 57  0.dll"¯/IMPORT:W
0080: 72 69 74 65 2E 57 33 32 3A 22 74 38 39 33 30 2E  rite.W32:"t8930.
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 33 30 2E 68 74 6D 00  ¤¤°°g·t8930.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▲