Turbo Assembler

Turbo Assembler (TASM) is a computer assembler (software for program development) developed by Borland which runs on and produces code for 16- or 32-bit x86 DOS or Microsoft Windows. It can be used with Borland's high-level language compilers, such as Turbo Pascal, Turbo Basic, Turbo C and Turbo C++. The Turbo Assembler package is bundled with the Turbo Linker, and is interoperable with the Turbo Debugger. TASM can assemble Microsoft Macro Assembler (MASM) source using its MASM mode and has an ideal mode with a few enhancements. Object-Oriented programming has been supported since version 3.0. The last version of Turbo Assembler is 5.4, with files dated 1996 and patches up to 2010; it is still supplied with Delphi and C++Builder.

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

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. There are ways to run 16-bit programs such as TASM on 64-bit Windows (e.g., on a virtual machine), but it will not generate 64-bit Windows code.

The Borland Turbo Assembler 5.0 package is supplied on three 3.5-inch diskettes and with three small books.

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
gollark: Quite possibly. There is apparently good evidence that "highly processed" food is bad, although I still haven't found out exactly what exactly "processed" means.
gollark: Growing your own food is hard and impractical if you live in a city or something. This is not really a reasonable standard.
gollark: As planned.
gollark: * with
gollark: Even if it's technically possible to replace the parts - I don't really know the practicality of (un)soldering such things - it is much harder than with sane laptops which SATA ports.

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.