Supriya Ghosh (Editor)

Open Watcom Assembler

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Original author(s)
  
Open Watcom Assembler

Available in
  
Website
  
www.openwatcom.com

Operating system
  
DOS for x86-based PCs, Microsoft Windows, Linux for x86-based PCs, OS/2 for x86-based PCs, FreeBSD for x86-based PCs.

Open Watcom Assembler or WASM is an x86 assembler produced by Watcom and included as part of the Watcom C/C++ compiler. Further development is being done on the 32- and 64-bit JWASM project,. which more closely matches the syntax of Microsoft's assembler.

Contents

There are experimental assemblers for PowerPC, Alpha AXP, and MIPS.

Assembler

  • Native support for output formats Intel OMF output formats
  • Supports Intel x86 (Pentium MMX, Pentium III-4, 3DNow!, SSE and SSE2) instruction sets.
  • Supports Microsoft macro assembler (MASM) 5 and 6 syntax (incomplete).
  • Disassembler

    There is an associated Watcom disassembler, wdis. The assembler does not have listing facilities; instead the use of wdis for generating listings is recommended. wdis can read OMF, COFF and ELF object files and PE and ELF executables. It supports 16-bit and 32-bit x86 instruction set including MMX, 3DNow!, SSE, SSE2, and SSE3. Support for PowerPC, Alpha AXP, MIPS, and SPARC V8 instruction sets is also built in.

    JWasm & HJWASM

    JWasm is a fork of Wasm originated by Japheth with following features:

  • Native support for output formats Intel OMF (16/32-bit), MS Coff (32-bit and 64-bit), Elf (32-bit and 64-bit), Bin and DOS MZ.
  • Precompiled JWasm binaries are available for DOS, Windows and Linux. For OS/2 and FreeBSD, makefiles are supplied.
  • Supports Intel x86 (8086, 80186, 80286, 80386, 80486, Pentium, Pentium Pro), x86-64 instruction sets with SIMD (MMX, 3DNow!, SSE, SSE2, SSE3 and SSSE3, SSE4.1/2 (since Jwasm), AVX (since JWasm 2.06), VMX (Intel VT-x; AMD SVM, the latter though already implemented, currently still inactive) extensions (since JWasm 2.09)).
  • JWasm is written in C. The source is portable and has successfully been tested with Open Watcom, MS VC, GCC and more.
  • On Windows, JWasm can be used with both Win32Inc and Masm32. Since v2.01, it will also work with Sven B. Schreiber's SBS WALK32 Win32 Assembly Language Kit
  • C header files can be converted to include files for JWasm with Japheth's own dedicated h2incX.
  • JWasm's source code is released under the Sybase Open Watcom Public License, which allows free commercial and non-commercial use.
  • Fully supports Microsoft macro assembler 6 syntax, all MASM 8 instructions sets.
  • Japheth ceased development of JWASM in January 2014, but others on the Masm32 forum picked up where Japheth left off, adding support for AVX2 and developing support for AVX-512. JWASM has since then been named HJWASM, adding the prefix H in reference to Masm32 forum member Habran who started off this second WASM development continuation. The source is currently being hosted at Github

    References

    Open Watcom Assembler Wikipedia


    Similar Topics