Conditional assembly language: Difference between revisions

Content deleted Content added
Redundant reflist; some macro pseudoops are not conditional assembly pseudoops; open code
Tag: New redirect
 
Line 1:
#REDIRECT [[Assembly language#Macros]]
<!-- Please do not remove or change this AfD message until the discussion has been closed. -->
 
{{Article for deletion/dated|page=Conditional assembly language|timestamp=20210826234400|year=2021|month=August|day=26|substed=yes|help=off}}
{{Rcat shell|
<!-- Once discussion is closed, please place on talk page: {{Old AfD multi|page=Conditional assembly language|date=26 August 2021|result='''keep'''}} -->
{{R to related topic}}
<!-- End of AfD message, feel free to edit beyond this point -->{{Single source
| date = August 2021
}}
 
A '''conditional assembly language''' is a subset of an [[assembly language]] used to conditionally generate code; it can be used both in a [[Macro (computer science)|macro]] and in open code.
 
== Example ==
In the conditional assembly language<ref>{{Cite web|date=2015-06-11|title=Conditional assembly language|url=https://www.ibm.com/docs/en/zos/2.2.0?topic=SSLTBW_2.2.0/com.ibm.zos.v2r2.asma400/asmr1021181.htm|access-date=2021-08-29|website=www.ibm.com|language=en-us}}</ref> of the [[IBM High Level Assembler]]{{efn|Much of the language derives from earlier assemblers in, e.g., [[OS/360 and successors]].}} (HLASM)), some important statements are:
 
* GBLx, LCLx - used to define compile-time variables
* AIF, AGO, ANOP, AEND and AEXIT - used to control the generation of different assembly language statements, depending on the values of compile-time variables and, within macros, on the macro's supplied arguments.
* SETx - used to manipulate compile-time variables.
 
=== 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.
 
{{DEFAULTSORT:Conditional Assembly Language}}
[[Category:Assembly languages]]
 
== Notes ==
{{Notelist}}
 
== References ==
{{Reflist}}
{{Compu-lang-stub}}