EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t8465: OMF import module for 32bit Windows links COFF import module


Source & expected listing t8465.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7438343635 |%test %SET t8465 | |;; Create auxilliary COFF import module. | |%test.coff PROGRAM FORMAT=COFF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.coff | **** ListMap "t8465.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 "t8465.coff.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8465.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8465.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8465.dll" | |;; | |;; Create the main OMF import module. | |%test PROGRAM FORMAT=OMF | | LINK %test.coff.obj | | ENDPROGRAM %test |# I0560 Linking COFF module ".\t8465.coff.obj". |# I0563 Accepting link directive '/IMPORT:Write.W32:"t8465.dll"'. |# I0563 Accepting link directive '/IMPORT:Beep.W32:"t8465.dll"'. |# I0563 Accepting link directive '/IMPORT:Exit.W32:"t8465.dll"'. | **** ListMap "t8465.obj",model=SMALL,groups=0,segments=0,entry=,stack= | **** ListGlobals "t8465.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8465.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8465.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8465.dll"
Expected messages t8465.out
I0180 Assembling source file "t8465.htm". I0270 Assembling source "t8465". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t8465.coff". "t8465.htm"{44} I0510 Assembling program pass 1. "t8465.htm"{44} I0510 Assembling program pass 2. "t8465.htm"{44} I0530 Assembling program pass 3 - final. "t8465.htm"{44} I0660 32bit FLAT COFF file "t8465.coff.obj" created, size=288. "t8465.htm"{46} I0650 Program "t8465.coff" assembled in 3 passes with errorlevel 0. "t8465.htm"{46} I0470 Assembling program "t8465". "t8465.htm"{55} I0510 Assembling program pass 1. "t8465.htm"{55} I0530 Assembling program pass 2 - final. "t8465.htm"{55} I0560 Linking COFF module ".\t8465.coff.obj". "t8465.htm"{57} I0563 Accepting link directive '/IMPORT:Write.W32:"t8465.dll"'. "t8465.htm"{57} I0563 Accepting link directive '/IMPORT:Beep.W32:"t8465.dll"'. "t8465.htm"{57} I0563 Accepting link directive '/IMPORT:Exit.W32:"t8465.dll"'. "t8465.htm"{57} I0660 16bit SMALL OMF file "t8465.obj" created, size=200. "t8465.htm"{57} I0650 Program "t8465" assembled in 2 passes with errorlevel 0. "t8465.htm"{57} I0750 Source "t8465" (111 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t8465.htm.lst" created, size=1713. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t8465. obj
0000: 80 07 00 05 74 38 34 36 35 29 88 10 00 00 00 45  ¤·°·t8465)¤·°°°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 36 35 2E 64 6C 6C 08  p.W32·t8465.dll·
0040: 42 65 65 70 2E 57 33 32 9C 88 21 00 80 A0 01 00  Beep.W32¤¤!°¤¤·°
0050: 08 45 78 69 74 2E 57 33 32 09 74 38 34 36 35 2E  ·Exit.W32·t8465.
0060: 64 6C 6C 08 45 78 69 74 2E 57 33 32 60 88 23 00  dll·Exit.W32`¤#°
0070: 80 A0 01 00 09 57 72 69 74 65 2E 57 33 32 09 74  ¤¤·°·Write.W32·t
0080: 38 34 36 35 2E 64 6C 6C 09 57 72 69 74 65 2E 57  8465.dll·Write.W
0090: 33 32 7A 96 02 00 00 68 8C 0B 00 08 42 65 65 70  32z¤·°°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▲