EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t8480: OMF import module for 32bit Windows links ELF import module


Source & expected listing t8480.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7438343830 |%test %SET t8480 | |;; Create auxilliary ELF import module. | |%test PROGRAM FORMAT=ELF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test | **** ListMap "t8480.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 "t8480.o",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8480.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8480.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8480.dll" | |;; | |;; Create the main OMF import module. | |%test PROGRAM FORMAT=OMF | | LINK %test.o | | ENDPROGRAM %test |# I0560 Linking ELF module ".\t8480.o". |# I0563 Accepting link directive '/IMPORT:Write.W32:"t8480.dll"'. |# I0563 Accepting link directive '/IMPORT:Beep.W32:"t8480.dll"'. |# I0563 Accepting link directive '/IMPORT:Exit.W32:"t8480.dll"'. | **** ListMap "t8480.obj",model=SMALL,groups=0,segments=0,entry=,stack= | **** ListGlobals "t8480.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8480.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8480.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8480.dll"
Expected messages t8480.out
I0180 Assembling source file "t8480.htm". I0270 Assembling source "t8480". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t8480". "t8480.htm"{44} I0510 Assembling program pass 1. "t8480.htm"{44} I0510 Assembling program pass 2. "t8480.htm"{44} I0530 Assembling program pass 3 - final. "t8480.htm"{44} I0660 32bit FLAT ELF file "t8480.o" created, size=600. "t8480.htm"{46} I0650 Program "t8480" assembled in 3 passes with errorlevel 0. "t8480.htm"{46} I0470 Assembling program "t8480". "t8480.htm"{59} I0510 Assembling program pass 1. "t8480.htm"{59} I0530 Assembling program pass 2 - final. "t8480.htm"{59} I0560 Linking ELF module ".\t8480.o". "t8480.htm"{61} I0563 Accepting link directive '/IMPORT:Write.W32:"t8480.dll"'. "t8480.htm"{61} I0563 Accepting link directive '/IMPORT:Beep.W32:"t8480.dll"'. "t8480.htm"{61} I0563 Accepting link directive '/IMPORT:Exit.W32:"t8480.dll"'. "t8480.htm"{61} I0660 16bit SMALL OMF file "t8480.obj" created, size=200. "t8480.htm"{61} I0650 Program "t8480" assembled in 2 passes with errorlevel 0. "t8480.htm"{61} I0750 Source "t8480" (115 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t8480.htm.lst" created, size=2061. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t8480. obj
0000: 80 07 00 05 74 38 34 38 30 2C 88 10 00 00 00 45  ¤·°·t8480,¤·°°°E
0010: 75 72 6F 41 73 73 65 6D 62 6C 65 72 2F 88 05 00  uroAssembler/¤·°
0020: 00 9D 33 73 30 88 21 00 80 A0 01 00 08 42 65 65  °¤3s0¤!°¤¤·°·Bee
0030: 70 2E 57 33 32 09 74 38 34 38 30 2E 64 6C 6C 08  p.W32·t8480.dll·
0040: 42 65 65 70 2E 57 33 32 9F 88 21 00 80 A0 01 00  Beep.W32¤¤!°¤¤·°
0050: 08 45 78 69 74 2E 57 33 32 09 74 38 34 38 30 2E  ·Exit.W32·t8480.
0060: 64 6C 6C 08 45 78 69 74 2E 57 33 32 63 88 23 00  dll·Exit.W32c¤#°
0070: 80 A0 01 00 09 57 72 69 74 65 2E 57 33 32 09 74  ¤¤·°·Write.W32·t
0080: 38 34 38 30 2E 64 6C 6C 09 57 72 69 74 65 2E 57  8480.dll·Write.W
0090: 33 32 7D 96 02 00 00 68 8C 0B 00 08 42 65 65 70  32}¤·°°h¤·°·Beep
00A0: 2E 57 33 32 00 FB 8C 0B 00 08 45 78 69 74 2E 57  .W32°¤¤·°·Exit.W
00B0: 33 32 00 DD 8C 0C 00 09 57 72 69 74 65 2E 57 33  32°¤¤·°·Write.W3
00C0: 32 00 6A 8A 02 00 00 74                          2°j¤·°°t

▲Back to the top▲