EuroAssembler Index Manual Download Source Macros


Sitemap Links Forum Tests Projects

Test t8472: OMF import module for 32bit Windows links LIBCOF import library


Source & expected listing t8472.htm.lst
| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7438343732 |%test %SET t8472 | |;; | |;; Create auxilliary LIBCOF import library. | |%test.coff PROGRAM FORMAT=LIBCOF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.coff | **** ListMap "t8472.coff.lib",model=FLAT,groups=0,segments=0,entry=,stack= | **** ListGlobals "t8472.coff.lib",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8472.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8472.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8472.dll" | |;; | |;; Create the main OMF import module. | |%test PROGRAM FORMAT=OMF | | GLOBAL Write.W32,Beep.W32,Exit.W32 | | LINK %test.coff.lib | | ENDPROGRAM %test |# I0561 Linking LIBCOF library ".\t8472.coff.lib". | **** ListMap "t8472.obj",model=SMALL,groups=0,segments=0,entry=,stack= | **** ListGlobals "t8472.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8472.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8472.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8472.dll"
Expected messages t8472.out
I0180 Assembling source file "t8472.htm". I0270 Assembling source "t8472". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t8472.coff". "t8472.htm"{45} I0510 Assembling program pass 1. "t8472.htm"{45} I0510 Assembling program pass 2. "t8472.htm"{45} I0530 Assembling program pass 3 - final. "t8472.htm"{45} I0660 32bit FLAT LIBCOF file "t8472.coff.lib" created, size=587. "t8472.htm"{47} I0650 Program "t8472.coff" assembled in 3 passes with errorlevel 0. "t8472.htm"{47} I0470 Assembling program "t8472". "t8472.htm"{55} I0510 Assembling program pass 1. "t8472.htm"{55} I0510 Assembling program pass 2. "t8472.htm"{55} I0530 Assembling program pass 3 - final. "t8472.htm"{55} I0561 Linking LIBCOF library ".\t8472.coff.lib". "t8472.htm"{58} I0660 16bit SMALL OMF file "t8472.obj" created, size=200. "t8472.htm"{58} I0650 Program "t8472" assembled in 3 passes with errorlevel 0. "t8472.htm"{58} I0750 Source "t8472" (107 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t8472.htm.lst" created, size=1516. I0990 EuroAssembler terminated with errorlevel 0.
Expected output file t8472. obj
0000: 80 07 00 05 74 38 34 37 32 2B 88 10 00 00 00 45  ¤·°·t8472+¤·°°°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 23 00 80 A0 01 00 09 57 72 69  °¤3s0¤#°¤¤·°·Wri
0030: 74 65 2E 57 33 32 09 74 38 34 37 32 2E 64 6C 6C  te.W32·t8472.dll
0040: 09 57 72 69 74 65 2E 57 33 32 7C 88 21 00 80 A0  ·Write.W32|¤!°¤¤
0050: 01 00 08 42 65 65 70 2E 57 33 32 09 74 38 34 37  ·°·Beep.W32·t847
0060: 32 2E 64 6C 6C 08 42 65 65 70 2E 57 33 32 9E 88  2.dll·Beep.W32¤¤
0070: 21 00 80 A0 01 00 08 45 78 69 74 2E 57 33 32 09  !°¤¤·°·Exit.W32·
0080: 74 38 34 37 32 2E 64 6C 6C 08 45 78 69 74 2E 57  t8472.dll·Exit.W
0090: 33 32 62 96 02 00 00 68 8C 0C 00 09 57 72 69 74  32b¤·°°h¤·°·Writ
00A0: 65 2E 57 33 32 00 6A 8C 0B 00 08 42 65 65 70 2E  e.W32°j¤·°·Beep.
00B0: 57 33 32 00 FB 8C 0B 00 08 45 78 69 74 2E 57 33  W32°¤¤·°·Exit.W3
00C0: 32 00 DD 8A 02 00 00 74                          2°¤¤·°°t

▲Back to the top▲