Turbo Assembler

{{Short description|Computer assembler developed by Borland}}

{{Redirect|TASM||Tasm (disambiguation)}}

{{Infobox Software

| name = Turbo Assembler

| developer = Borland

| released = {{Start date and age|1989}}

| latest_release_version = 5.4

| latest_release_date =

| operating_system = MS-DOS, Windows

| genre = Assembler

| license = Proprietary

| website = {{webarchive |url=https://web.archive.org/web/20101023185143/http://info.borland.com/borlandcpp/cppcomp/tasmfact.html |date=October 23, 2010 |title=Official webpage }}

}}

Turbo Assembler (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 compatibles for 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.

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. Turbo Assembler 5.0 (at least) also contains a 32-bit PE version of tasm called TASM32.EXE.

Example

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

.model small

.stack 100h

.data

msg db "Merry christmas!",'$'

.code

main proc

mov ax, SEG msg

mov ds, ax

mov dx, offset msg

mov ah, 9

int 21h

mov ax, 4c00h

int 21h

main endp

end main

Reception

In a review of three assemblers, Michael Blaszczak of BYTE in February 1989 found that Turbo Assembler was slower than SLR OPTASM but faster than and very compatible with MASM. He liked the tutorial on assembly programming and "excellent" sample code, but criticized the paucity of reference documentation. Noting that it was the only assembler that "cleanly assembled everything I fed to it", Blaszczak concluded that TASM was his favorite as it was "the best of both worlds: MASM compatibility without MASM's glitches", especially for those new to assembly.{{Cite magazine |last=Blaszczak |first=Michael |date=February 1989 |title=Three Assemblers for MS-DOS |url=https://archive.org/details/eu_BYTE-1989-02_OCR/page/n260/mode/1up?view=theater |access-date=2024-10-08 |magazine=BYTE |pages=205-209}}

See also

References

{{reflist}}

;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}}.