HLASM Language Reference

HLASM Language Reference HLASM Language Reference

faculty.cs.niu.edu
from faculty.cs.niu.edu More from this publisher
22.02.2015 Views

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

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>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!