| Index | Manual | Download | Source | Macros | Embedded word Case ins.
Sitemap | Links | Forum | Tests | Projects

# Test t8459: OMF import module for 32bit Windows links LIBOMF import library

Source & expected listing t8459.htm.lst
  `| | EUROASM AUTOSEGMENT=ON,CPU=386,DUMPWIDTH=25 |7438343539 |%test %SET t8459 | |;; | |;; Create auxilliary LIBOMF import library. | |%test.omf PROGRAM FORMAT=LIBOMF | | IMPORT Write.W32,Beep.W32,Exit.W32, lib=%test.dll | | ENDPROGRAM %test.omf | **** ListMap "t8459.omf.lib",model=SMALL,groups=0,segments=0,entry=,stack= | **** ListGlobals "t8459.omf.lib",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8459.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8459.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8459.dll" | |;; | |;; Create the main OMF import module. | |%test PROGRAM FORMAT=OMF | | GLOBAL Write.W32,Beep.W32,Exit.W32 | | LINK %test.omf.lib | | ENDPROGRAM %test |# I0561 Linking LIBOMF library "./t8459.omf.lib". | **** ListMap "t8459.obj",model=SMALL,groups=0,segments=0,entry=,stack= | **** ListGlobals "t8459.obj",Global=0,Public=0,Extern=0,eXport=0,Import=3 | Beep.W32,[Beep.W32]:00000000h,scope='I',lib="t8459.dll" | Exit.W32,[Exit.W32]:00000000h,scope='I',lib="t8459.dll" | Write.W32,[Write.W32]:00000000h,scope='I',lib="t8459.dll"`

Expected messages t8459.out
  `I0180 Assembling source file "t8459.htm". I0270 Assembling source "t8459". I0310 Assembling source pass 1. I0330 Assembling source pass 2 - final. I0470 Assembling program "t8459.omf". "t8459.htm"{45} I0510 Assembling program pass 1. "t8459.htm"{45} I0510 Assembling program pass 2. "t8459.htm"{45} I0530 Assembling program pass 3 - final. "t8459.htm"{45} I0660 16bit SMALL LIBOMF file "t8459.omf.lib" created, size=1536. "t8459.htm"{47} I0650 Program "t8459.omf" assembled in 3 passes with errorlevel 0. "t8459.htm"{47} I0470 Assembling program "t8459". "t8459.htm"{55} I0510 Assembling program pass 1. "t8459.htm"{55} I0510 Assembling program pass 2. "t8459.htm"{55} I0530 Assembling program pass 3 - final. "t8459.htm"{55} I0561 Linking LIBOMF library "./t8459.omf.lib". "t8459.htm"{58} I0660 16bit SMALL OMF file "t8459.obj" created, size=200. "t8459.htm"{58} I0650 Program "t8459" assembled in 3 passes with errorlevel 0. "t8459.htm"{58} I0750 Source "t8459" (107 lines) assembled in 2 passes with errorlevel 0. I0860 Listing file "t8459.htm.lst" created, size=1511. I0990 EuroAssembler terminated with errorlevel 0.`

Expected output file t8459. obj

      0000: 80 07 00 05 74 38 34 35 39 26 88 10 00 00 00 45  ¤·°·t8459&¤·°°°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 35 39 2E 64 6C 6C  te.W32·t8459.dll
      0040: 09 57 72 69 74 65 2E 57 33 32 77 88 21 00 80 A0  ·Write.W32w¤!°¤¤
      0050: 01 00 08 42 65 65 70 2E 57 33 32 09 74 38 34 35  ·°·Beep.W32·t845
      0060: 39 2E 64 6C 6C 08 42 65 65 70 2E 57 33 32 99 88  9.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 35 39 2E 64 6C 6C 08 45 78 69 74 2E 57  t8459.dll·Exit.W
      0090: 33 32 5D 96 02 00 00 68 8C 0C 00 09 57 72 69 74  32]¤·°°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▲