Conditional assembly language
Appearance
An editor has nominated this article for deletion. You are welcome to participate in the deletion discussion, which will decide whether or not to retain it. |
This article relies largely or entirely on a single source. (August 2021) |
A conditional assembly language is that part of an assembly language used to write macros.
Example
In the IBM conditional assembly language,[1] the most important statements are:
- MACRO and MEND - used to start and finish a macro
- AIF, AGO, ANOP, AEND, AEXIT and MEXIT - used to control the generation of different assembly language statements, depending on the nature of the macro's supplied arguments.
- SETx - used to manipulate variables within the macro.
Alternative use
The conditional assembler is not restricted to generating assembler code and was used by IBM in the 1970s onwards to generate COBOL or PL/1 statements for compiling into CICS application programs.
References
- ^ "Conditional assembly language". www.ibm.com. 2015-06-11. Retrieved 2021-08-29.