HLASM Language Reference
HLASM Language Reference HLASM Language Reference
Assembler Instructions and Statements Figure 110 (Page 3 of 5). Assembler Instructions Operation Entry Name Entry Operand Entry MNOTE A sequence symbol or space A severity code, followed by a comma, followed by a 1-to-256-character string enclosed in single quotation marks. Double-byte characters are permitted if the DBCS assembler option is specified. OPSYN An ordinary symbol An operation code mnemonic An machine instruction mnemonic or an operation code defined by a previous macro definition or OPSYN instruction Space ORG A sequence symbol or space A relocatable expression or space POP A sequence symbol or space One or more operands, separated by commas PRINT A sequence symbol or space One or more operands, separated by commas PUNCH A sequence symbol or space A 1-to-80-character string enclosed in single quotation marks. Double-byte characters are permitted if the DBCS assembler option is specified. PUSH A sequence symbol or space One or more operands, separated by commas REPRO A sequence symbol or space Taken as a remark RMODE Any symbol or space 24, 31, 64 or ANY RSECT Any symbol or space Taken as a remark SETA A SETA symbol An arithmetic expression SETAF A SETA symbol An external function module, and the arithmetic expressions it requires, separated by commas SETB A SETB symbol A 0 or a 1, or a logical expression enclosed in parentheses SETC A SETC symbol A type attribute, a character expression, a substring notation, or a concatenation of character expressions and substring notations. Double-byte characters are permitted if the DBCS assembler option is specified. SETCF A SETC symbol An external function module, and the character expressions it requires, separated by commas SPACE A sequence symbol or space An absolute expression START Any symbol or space An absolute expression or space TITLE3,5 A 1-to-8-character string, a variable symbol, a combination of character string or variable symbol, a sequence symbol, or space A 1-to-100-character string enclosed in single quotation marks. Double-byte characters are permitted if the DBCS assembler option is specified. 404 HLASM V1R5 Language Reference
Assembler Instructions and Statements Figure 110 (Page 4 of 5). Assembler Instructions Operation Entry Name Entry Operand Entry USING A symbol or space Either a single absolute or relocatable expression or a pair of absolute or relocatable expressions enclosed in parentheses and followed by 1 to 16 absolute expressions, separated by commas, or followed by a relocatable expression WXTRN A sequence symbol or space One or more relocatable symbols, separated by commas XATTR (MVS and CMS) An external symbol One or more operands, separated by commas Notes: 1. SET symbols may be defined as subscripted SET symbols. 2. May only be used as part of a macro definition. 3. See “TITLE Instruction” on page 215 for a description of the name entry. 4. These instructions start a private section. 5. These instructions can be specified before the first executable control section. Figure 111 (Page 1 of 2). Assembler Statements Instruction Entry Name Entry Operand Entry Model Statements1 and 2 Prototype Statement Macro Instruction Statement An ordinary symbol, variable symbol, sequence symbol, or a combination of variable symbols and other characters that is equivalent to a symbol, or space A symbolic parameter or space An ordinary symbol, a variable symbol, or a combination of variable symbols and other characters that is equivalent to a symbol, any character string, a sequence symbol or space Any combination of characters (including variable symbols) Zero or more operands that are symbolic parameters (separated by commas), and zero or more operands (separated by commas) of the form symbolic parameter, equal sign, optional standard value Zero or more positional operands (separated by commas), and zero or more keyword operands (separated by commas) of the form keyword, equal sign, value Appendix A. Assembler Instructions 405
- Page 374 and 375: SETA Instruction | The result of C2
- Page 376 and 377: SETA Instruction NOT Format: Logica
- Page 378 and 379: SETA Instruction | X2A Name Operati
- Page 380 and 381: SETA Instruction In evaluating the
- Page 382 and 383: SETB Instruction Any expression tha
- Page 384 and 385: SETB Instruction ┌─────
- Page 386 and 387: SETB Instruction | ISDEC | Format:
- Page 388 and 389: SETB Instruction The two comparands
- Page 390 and 391: SETC Instruction Notes: 1. The asse
- Page 392 and 393: Figure 103. Substring Notation in C
- Page 394 and 395: Loc Object Code Addr1 Addr2 Stmt So
- Page 396 and 397: | B2C('111111') has value '3' | B2C
- Page 398 and 399: | Output: D2B('decstring') converts
- Page 400 and 401: SIGNED Format: Logical-expression,
- Page 402 and 403: | X2D('') has value '+' | X2D('91')
- Page 404 and 405: Concatenation of strings containing
- Page 406 and 407: MACRO &NAME MOVE &TO,&FROM LCLC &PR
- Page 408 and 409: SETAF Instruction Alternative State
- Page 410 and 411: Branching Branching You can control
- Page 412 and 413: AGO Instruction The extended AIF in
- Page 414 and 415: ACTR Instruction AGOB—Synonym of
- Page 416 and 417: ANOP Instruction statement processe
- Page 418 and 419: MHELP Instruction MHELP B'10000000'
- Page 420 and 421: 400 HLASM V1R5 Language Reference
- Page 422 and 423: Assembler Instructions and Statemen
- Page 426 and 427: Assembler Instructions and Statemen
- Page 428 and 429: Summary of Constants Figure 113. Su
- Page 430 and 431: Macro and Conditional Assembly Lang
- Page 432 and 433: Macro and Conditional Assembly Lang
- Page 434 and 435: Macro and Conditional Assembly Lang
- Page 436 and 437: Macro and Conditional Assembly Lang
- Page 438 and 439: Macro and Conditional Assembly Lang
- Page 440 and 441: Macro and Conditional Assembly Lang
- Page 442 and 443: Standard Character Set Code Table H
- Page 444 and 445: Standard Character Set Code Table H
- Page 446 and 447: Trademarks AIX BookMaster CICS DFSM
- Page 448 and 449: Bibliography SMP/E Reference, SC28-
- Page 450 and 451: Index A2C (SETC built-in function)
- Page 452 and 453: Index B B-type binary constant 141
- Page 454 and 455: Index conditional assembly instruct
- Page 456 and 457: Index elements of conditional assem
- Page 458 and 459: Index instructions (continued) asse
- Page 460 and 461: Index machine instruction statement
- Page 462 and 463: Index operands (continued) compatib
- Page 464 and 465: Index relative addressing 67 reloca
- Page 466 and 467: Index sublists compatibility with A
- Page 468: Index variable symbols (continued)
- Page 471 and 472: Readers' Comments High Level Assemb
Assembler Instructions and Statements<br />
Figure 110 (Page 3 of 5). Assembler Instructions<br />
Operation<br />
Entry Name Entry Operand Entry<br />
MNOTE A sequence symbol or space A severity code, followed by a comma,<br />
followed by a 1-to-256-character string<br />
enclosed in single quotation marks.<br />
Double-byte characters are permitted if the<br />
DBCS assembler option is specified.<br />
OPSYN<br />
An ordinary symbol<br />
An operation code mnemonic<br />
An machine instruction mnemonic<br />
or an operation code defined by<br />
a previous macro definition or<br />
OPSYN instruction<br />
Space<br />
ORG A sequence symbol or space A relocatable expression or space<br />
POP A sequence symbol or space One or more operands, separated by<br />
commas<br />
PRINT A sequence symbol or space One or more operands, separated by<br />
commas<br />
PUNCH A sequence symbol or space A 1-to-80-character string enclosed in<br />
single quotation marks. Double-byte<br />
characters are permitted if the DBCS<br />
assembler option is specified.<br />
PUSH A sequence symbol or space One or more operands, separated by<br />
commas<br />
REPRO A sequence symbol or space Taken as a remark<br />
RMODE Any symbol or space 24, 31, 64 or ANY<br />
RSECT Any symbol or space Taken as a remark<br />
SETA A SETA symbol An arithmetic expression<br />
SETAF A SETA symbol An external function module, and the<br />
arithmetic expressions it requires,<br />
separated by commas<br />
SETB A SETB symbol A 0 or a 1, or a logical expression<br />
enclosed in parentheses<br />
SETC A SETC symbol A type attribute, a character expression, a<br />
substring notation, or a concatenation of<br />
character expressions and substring<br />
notations. Double-byte characters are<br />
permitted if the DBCS assembler option is<br />
specified.<br />
SETCF A SETC symbol An external function module, and the<br />
character expressions it requires,<br />
separated by commas<br />
SPACE A sequence symbol or space An absolute expression<br />
START Any symbol or space An absolute expression or space<br />
TITLE3,5<br />
A 1-to-8-character string, a<br />
variable symbol, a<br />
combination of character<br />
string or variable symbol, a<br />
sequence symbol, or space<br />
A 1-to-100-character string enclosed in<br />
single quotation marks. Double-byte<br />
characters are permitted if the DBCS<br />
assembler option is specified.<br />
404 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>