EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t9680: ELF import module for 32bit Windows links ELF import module


Source & expected listing t9680.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7439363830 |%test %SET t9680 | |;; Create auxilliary ELF import module. | |%test.elf PROGRAM FORMAT=ELF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.elf | **** ListMap "t9680.elf.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 "t9680.elf.o",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t9680.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t9680.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t9680.dll" | |;; | |;; Create the main ELF import module. | |%test PROGRAM FORMAT=ELF | | LINK %test.elf.o | | ENDPROGRAM %test |# I0560 Linking ELF module ".\t9680.elf.o". |# I0563 Accepting link directive '/IMPORT:Write.W32:"t9680.dll"'. |# I0563 Accepting link directive '/IMPORT:Beep.W32:"t9680.dll"'. |# I0563 Accepting link directive '/IMPORT:Exit.W32:"t9680.dll"'. | **** ListMap "t9680.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 "t9680.o",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t9680.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t9680.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t9680.dll"
Expected messages t9680.out
I0180 Assembling source file "t9680.htm". I0270 Assembling source "t9680". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t9680.elf". "t9680.htm"{44} I0510 Assembling program pass 1. "t9680.htm"{44} I0510 Assembling program pass 2. "t9680.htm"{44} I0530 Assembling program pass 3 - final. "t9680.htm"{44} I0660 32bit FLAT ELF file "t9680.elf.o" created, size=600. "t9680.htm"{46} I0650 Program "t9680.elf" assembled in 3 passes with errorlevel 0. "t9680.htm"{46} I0470 Assembling program "t9680". "t9680.htm"{59} I0510 Assembling program pass 1. "t9680.htm"{59} I0530 Assembling program pass 2 - final. "t9680.htm"{59} I0560 Linking ELF module ".\t9680.elf.o". "t9680.htm"{61} I0563 Accepting link directive '/IMPORT:Write.W32:"t9680.dll"'. "t9680.htm"{61} I0563 Accepting link directive '/IMPORT:Beep.W32:"t9680.dll"'. "t9680.htm"{61} I0563 Accepting link directive '/IMPORT:Exit.W32:"t9680.dll"'. "t9680.htm"{61} I0660 32bit FLAT ELF file "t9680.o" created, size=600. "t9680.htm"{61} I0650 Program "t9680" assembled in 2 passes with errorlevel 0. "t9680.htm"{61} I0750 Source "t9680" (145 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t9680.htm.lst" created, size=2569. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t9680. 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 38 30 2E 64 6C 6C 22 20 2F 49 4D 50 4F 52  9680.dll"¯/IMPOR
01C0: 54 3A 45 78 69 74 2E 57 33 32 3A 22 74 39 36 38  T:Exit.W32:"t968
01D0: 30 2E 64 6C 6C 22 20 2F 49 4D 50 4F 52 54 3A 57  0.dll"¯/IMPORT:W
01E0: 72 69 74 65 2E 57 33 32 3A 22 74 39 36 38 30 2E  rite.W32:"t9680.
01F0: 64 6C 6C 22 00 74 39 36 38 30 2E 68 74 6D 00 2E  dll"°t9680.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▲