EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t9659: ELF import module for 32bit Windows links LIBOMF import library


Source & expected listing t9659.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7439363539 |%test %SET t9659 | |;; | |;; Create auxilliary LIBOMF import library. | |%test.omf PROGRAM FORMAT=LIBOMF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.omf | **** ListMap "t9659.omf.lib",model=SMALL,groups=0,segments=0,entry=,stack= | **** ListGlobals "t9659.omf.lib",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t9659.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t9659.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t9659.dll" | |;; | |;; Create the main ELF import module. | |%test PROGRAM FORMAT=ELF | | GLOBAL Write.W32,Beep.W32,Exit.W32 | | LINK %test.omf.lib | | ENDPROGRAM %test |# I0561 Linking LIBOMF library ".\t9659.omf.lib". | **** ListMap "t9659.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 "t9659.o",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t9659.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t9659.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t9659.dll"
Expected messages t9659.out
I0180 Assembling source file "t9659.htm". I0270 Assembling source "t9659". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t9659.omf". "t9659.htm"{45} I0510 Assembling program pass 1. "t9659.htm"{45} I0510 Assembling program pass 2. "t9659.htm"{45} I0530 Assembling program pass 3 - final. "t9659.htm"{45} I0660 16bit SMALL LIBOMF file "t9659.omf.lib" created, size=1536. "t9659.htm"{47} I0650 Program "t9659.omf" assembled in 3 passes with errorlevel 0. "t9659.htm"{47} I0470 Assembling program "t9659". "t9659.htm"{55} I0510 Assembling program pass 1. "t9659.htm"{55} I0510 Assembling program pass 2. "t9659.htm"{55} I0530 Assembling program pass 3 - final. "t9659.htm"{55} I0561 Linking LIBOMF library ".\t9659.omf.lib". "t9659.htm"{58} I0660 32bit FLAT ELF file "t9659.o" created, size=600. "t9659.htm"{58} I0650 Program "t9659" assembled in 3 passes with errorlevel 0. "t9659.htm"{58} I0750 Source "t9659" (137 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t9659.htm.lst" created, size=1995. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t9659. 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 57 72 69 74 65 2E 57 33 32 3A 22  PORT:Write.W32:"
01B0: 74 39 36 35 39 2E 64 6C 6C 22 20 2F 49 4D 50 4F  t9659.dll"¯/IMPO
01C0: 52 54 3A 42 65 65 70 2E 57 33 32 3A 22 74 39 36  RT:Beep.W32:"t96
01D0: 35 39 2E 64 6C 6C 22 20 2F 49 4D 50 4F 52 54 3A  59.dll"¯/IMPORT:
01E0: 45 78 69 74 2E 57 33 32 3A 22 74 39 36 35 39 2E  Exit.W32:"t9659.
01F0: 64 6C 6C 22 00 74 39 36 35 39 2E 68 74 6D 00 2E  dll"°t9659.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▲