Jul 20, 2023

TASM to AT&T asm syntax converter (GNU AS)

This simple tool reads a source file with TASM syntax and converts it to AT&T syntax.

The AT&T syntax is widely used by GNU tools, in particular the GASAS interpreter and GCC compiler.

The TASM syntax is used by many commercial compilers and disassemblers, ie. NASM, MASM, Visual Studio or IDA Pro.

Ta2As can automate most of the conversion, but it still isn’t perfect

  • some correction have to be made manually before the code compiles.

This tool was originally written by Frank van Dijk and released by SPiRiT group; this is continuation of his work, although not much of the original code remains.

Checkout these related ports:
  • Zbase32 - Base32 Encoder/Decoder
  • Ytnef - Unpack data in MS Outlook TNEF format
  • Yj - Convert between YAML, TOML, JSON, and HCL
  • Yj-bruceadams - Command line tool that converts YAML to JSON
  • Xml2c - Convert an XML file into C struct/string declarations
  • Xdeview - X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Wkhtmltopdf - Convert HTML (or live webpages) to PDF or image
  • Uulib - Library for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Uudeview - Program for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Unix2dos - Convert ASCII newlines between CR/LF and LF
  • Tuc - Text to Unix Conversion
  • Trans - Character encoding converter generator
  • Tnef - Unpack data in MS Outlook TNEF format
  • Showkey - Display cooked key sequences (keycap-to-keystrokes mappings)
  • Rubygem-xdr - XDR Helper Library