A high-level assembler in computing is an assembler for assembly language that incorporate features found in a high-level programming language.

The earliest high-level assembler was probably Burroughs' Executive Systems Problem Oriented Language (ESPOL) in about 1960, which provided an ALGOL-like syntax around explicitly-specified Burroughs B5000 machine instructions.[disputeddiscuss] This was followed by Niklaus Wirth's PL360 in 1968; this replicated the Burroughs facilities, with which he was familiar, on an IBM System/360. More recent high-level assemblers are Borland's Turbo Assembler (TASM), Netwide Assembler (NASM), Microsoft's Macro Assembler (MASM), IBM's High Level Assembler (HLASM) for z/Architecture systems, Alessandro Ghignola's Linoleum, X# used in Cosmos and Ziron.[citation needed]

High-level assemblers typically provide instructions that directly assemble one-to-one into low-level machine code as in any assembler, plus control statements such as IF, WHILE, REPEAT...UNTIL, and FOR, macros, and other enhancements. This allows the use of high-level control statement abstractions wherever maximal speed or minimal space is not essential; low-level statements that assemble directly to machine code can be used to produce the fastest or shortest code. The end result is assembly source code that is far more readable than standard assembly code while preserving the efficiency inherent with using assembly language.

High-level assemblers generally provide information-hiding facilities and the ability to call functions and procedures using a high-level-like syntax (i.e., the assembler automatically produces code to push parameters on the call stack rather than the programmer having to manually write the code to do this).

High-level assemblers also provide data abstractions normally found in high-level languages. Examples include: data structures, unions, classes, and sets. Some high-level assemblers (e.g., TASM and High Level Assembly (HLA)) support object-oriented programming.

References

edit
  • Salomon, David (February 1993) [1992]. Written at California State University, Northridge, California, USA. Chivers, Ian D. (ed.). Assemblers and Loaders (PDF). Ellis Horwood Series In Computers And Their Applications (1 ed.). Chicester, West Sussex, UK: Ellis Horwood Limited / Simon & Schuster International Group. ISBN 0-13-052564-2. Archived (PDF) from the original on 2020-03-23. Retrieved 2008-10-01. [1][2] (xiv+294+4 pages) (NB. Presents definitions and examples of older high-level assemblers.)
  • The Art of Assembly Language, Randall Hyde [3]
  • HAL70 , Hamish Dewar [4] A high level assembly language for Interdata series 70 mini-computers.
  • Webster site with information and links on HLA and assembler