Turbo Assembler

Turbo Assembler (sometimes shortened to the name of the executable, TASM) is an assembler for software development published by Borland in 1989. It runs on and produces code for 16- or 32-bit x86 MS-DOS and compatible on Microsoft Windows. It can be used with Borland's other language products: Turbo Pascal, Turbo Basic, Turbo C, and Turbo C++. The Turbo Assembler package is bundled with Turbo Linker and is interoperable with Turbo Debugger.

Turbo Assembler
Developer(s)Borland
Initial release1989 (1989)
Stable release
5.4
Operating systemMS-DOS, Windows
TypeAssembler
LicenseProprietary
WebsiteOfficial webpage at the Wayback Machine (archived October 23, 2010)

Borland advertised Turbo Assembler as being 2-3 times faster than its primary competitor, Microsoft Macro Assembler (MASM). TASM can assemble source in a MASM-compatible mode or an ideal mode with a few enhancements. Object-Oriented programming was added in version 3. The last version of Turbo Assembler is 5.4, with files dated 1996 and patches up to 2010; it is still included with Delphi and C++Builder.

TASM itself is a 16-bit program. It will run on 16- and 32-bit versions of Windows, and produce code for the same versions, but it does not generate 64-bit x86 code.

Example

A Turbo Assembler program that prints 'Merry Christmas!':

ASSUME CS:CODE , DS:DATA 
DATA SEGMENT
    NUM1 DB 05H
    COUNT DB 04H
    RESULT DW 1 DUP (0)
DATA ENDS
CODE SEGMENT
    START:MOV AX,DATA
    MOV DS,AX
    MOV AL,NUM1
    MOV CL,COUNT
    UP:CALL FACT_BYTE
    DEC CL
    JZ UP
    MOV RESULT,AX
    JMP EXIT
    FACT_BYTE
    MUL AL
    RET
    FACT_BYTE ENDP
    EXIT:MOV AH,4CH
    INT 21H
CODE ENDS
END START

See also

References

    Notes
    • Swan, Tom (1989). Mastering Turbo Assembler. Carmel, Indiana: Howard W. Sams & Company, Hayden Books division of Macmillan Computer Publishing. ISBN 0-672-48435-8. 2nd Edition, 1995 ISBN 0-672-30526-7.
    This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.