Solution 1:

You could install the Netwide Assembler, NASM:

sudo apt-get install nasm

NASM provides the -t option which enables the TASM Compatibility Mode:

NASM includes a limited form of compatibility with Borland's TASM. When NASM's -t option is used, the following changes are made:

  • local labels may be prefixed with @@ instead of .
  • size override is supported within brackets. In TASM compatible mode, a size override inside square brackets changes the size of the operand, and not the address type of the operand as it does in NASM syntax. E.g. mov eax,[DWORD val] is valid syntax in TASM compatibility mode. Note that you lose the ability to override the default address type for the instruction.
  • unprefixed forms of some directives supported (arg, elif, else, endif, if, ifdef, ifdifi, ifndef, include, local)

Alternatively, you could also run the windows version with DOSBox.

Source:

  • NASM Manual - section-2.1.23

Solution 2:

Use NetWide Assembler...To install it just type in the terminal

sudo apt-get install nasm

Or you can build it from source

NASM 2.13.03

Best of luck...