EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

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


Source & expected listing t9665.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7439363635 |%test %SET t9665 | |;; Create auxilliary COFF import module. | |%test.coff PROGRAM FORMAT=COFF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.coff | **** ListMap "t9665.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 "t9665.coff.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t9665.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t9665.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t9665.dll" | |;; | |;; Create the main ELF import module. | |%test PROGRAM FORMAT=ELF | | LINK %test.coff.obj | | ENDPROGRAM %test |# I0560 Linking COFF module ".\t9665.coff.obj". |# I0563 Accepting link directive '/IMPORT:Write.W32:"t9665.dll"'. |# I0563 Accepting link directive '/IMPORT:Beep.W32:"t9665.dll"'. |# I0563 Accepting link directive '/IMPORT:Exit.W32:"t9665.dll"'. | **** ListMap "t9665.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 "t9665.o",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t9665.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t9665.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t9665.dll"
Expected messages t9665.out
I0180 Assembling source file "t9665.htm". I0270 Assembling source "t9665". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t9665.coff". "t9665.htm"{44} I0510 Assembling program pass 1. "t9665.htm"{44} I0510 Assembling program pass 2. "t9665.htm"{44} I0530 Assembling program pass 3 - final. "t9665.htm"{44} I0660 32bit FLAT COFF file "t9665.coff.obj" created, size=288. "t9665.htm"{46} I0650 Program "t9665.coff" assembled in 3 passes with errorlevel 0. "t9665.htm"{46} I0470 Assembling program "t9665". "t9665.htm"{55} I0510 Assembling program pass 1. "t9665.htm"{55} I0530 Assembling program pass 2 - final. "t9665.htm"{55} I0560 Linking COFF module ".\t9665.coff.obj". "t9665.htm"{57} I0563 Accepting link directive '/IMPORT:Write.W32:"t9665.dll"'. "t9665.htm"{57} I0563 Accepting link directive '/IMPORT:Beep.W32:"t9665.dll"'. "t9665.htm"{57} I0563 Accepting link directive '/IMPORT:Exit.W32:"t9665.dll"'. "t9665.htm"{57} I0660 32bit FLAT ELF file "t9665.o" created, size=600. "t9665.htm"{57} I0650 Program "t9665" assembled in 2 passes with errorlevel 0. "t9665.htm"{57} I0750 Source "t9665" (141 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t9665.htm.lst" created, size=2197. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t9665. o
0000: 7F 45 4C 46 01 01 01 00 00 00 00 00 00 00 00 00  ¤ELF···°°°°°°°°°
0010: 01 00 03 00 01 00 00 00 00 00 00 00 00 00 00 00  ·°·°·°°°°°°°°°°°
0020: 38 00 00 00 00 00 00 00 34 00 20 00 00 00 28 00  8°°°°°°°4°¯°°°(°
0030: 05 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00  ·°·°°°°°°°°°°°°°
0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  °°°°°°°°°°°°°°°°
0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  °°°°°°°°°°°°°°°°
0060: 01 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00  ·°°°·°°°°°°°°°°°
0070: 00 01 00 00 80 00 00 00 03 00 00 00 05 00 00 00  °·°°¤°°°·°°°·°°°
0080: 10 00 00 00 10 00 00 00 09 00 00 00 07 00 00 00  ·°°°·°°°·°°°·°°°
0090: 00 00 00 00 00 00 00 00 80 01 00 00 74 00 00 00  °°°°°°°°¤·°°t°°°
00A0: 00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00  °°°°°°°°·°°°°°°°
00B0: 12 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00  ·°°°·°°°°°°°°°°°
00C0: F4 01 00 00 40 00 00 00 00 00 00 00 00 00 00 00  ¤·°°@°°°°°°°°°°°
00D0: 01 00 00 00 00 00 00 00 1A 00 00 00 03 00 00 00  ·°°°°°°°·°°°·°°°
00E0: 00 00 00 00 00 00 00 00 34 02 00 00 24 00 00 00  °°°°°°°°4·°°$°°°
00F0: 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00  °°°°°°°°·°°°°°°°
0100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  °°°°°°°°°°°°°°°°
0110: 01 00 00 00 00 00 00 00 00 00 00 00 04 00 F1 FF  ·°°°°°°°°°°°·°¤¤
0120: 0B 00 00 00 00 00 00 00 00 00 00 00 03 00 02 00  ·°°°°°°°°°°°·°·°
0130: 14 00 00 00 00 00 00 00 00 00 00 00 03 00 03 00  ·°°°°°°°°°°°·°·°
0140: 1C 00 00 00 00 00 00 00 00 00 00 00 03 00 01 00  ·°°°°°°°°°°°·°·°
0150: 24 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00  $°°°°°°°°°°°·°°°
0160: 2D 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00  -°°°°°°°°°°°·°°°
0170: 36 00 00 00 00 00 00 00 00 00 00 00 10 00 00 00  6°°°°°°°°°°°·°°°
0180: 0D 00 00 00 58 00 00 00 EA 00 00 00 45 75 72 6F  ·°°°X°°°¤°°°Euro
0190: 41 73 73 65 6D 62 6C 65 72 00 00 00 20 2F 49 4D  Assembler°°°¯/IM
01A0: 50 4F 52 54 3A 42 65 65 70 2E 57 33 32 3A 22 74  PORT:Beep.W32:"t
01B0: 39 36 36 35 2E 64 6C 6C 22 20 2F 49 4D 50 4F 52  9665.dll"¯/IMPOR
01C0: 54 3A 45 78 69 74 2E 57 33 32 3A 22 74 39 36 36  T:Exit.W32:"t966
01D0: 35 2E 64 6C 6C 22 20 2F 49 4D 50 4F 52 54 3A 57  5.dll"¯/IMPORT:W
01E0: 72 69 74 65 2E 57 33 32 3A 22 74 39 36 36 35 2E  rite.W32:"t9665.
01F0: 64 6C 6C 22 00 74 39 36 36 35 2E 68 74 6D 00 2E  dll"°t9665.htm°.
0200: 64 72 65 63 74 76 65 00 2E 73 74 72 74 61 62 00  drectve°.strtab°
0210: 2E 73 79 6D 74 61 62 00 42 65 65 70 2E 57 33 32  .symtab°Beep.W32
0220: 00 45 78 69 74 2E 57 33 32 00 57 72 69 74 65 2E  °Exit.W32°Write.
0230: 57 33 32 00 00 2E 73 79 6D 74 61 62 00 2E 64 72  W32°°.symtab°.dr
0240: 65 63 74 76 65 00 2E 73 74 72 74 61 62 00 2E 73  ectve°.strtab°.s
0250: 68 73 74 72 74 61 62 00                          hstrtab°

▲Back to the top▲