11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EQU instruction|FPR Register - Floating-PointGR Register - GeneralGR32 Register - General 32-bitGR64 Register - General 64-bitIf expression_5 is omitted, the assembler assigns a null value to the assemblertype, and querying the value using the SYSATTRA built-in function returns anull value.The EQU instruction can be used anywhere in a source module after the ICTLinstruction. Note, however, that the EQU instruction will initiate an unnamedcontrol section (private code) if it is specified before the first control section.|||||Using conditional assembly valuesThe following rules describe when you can use the value, length attribute value, ortype attribute value of an equated symbol in conditional assembly statements:v If you want to use the value of the symbol in conditional assembly statements,then:– The EQU statement that defines the symbol must be processed by theassembler before the conditional assembly statement that refers to the symbol.– The symbol in the name field of the EQU statement must be an ordinarysymbol.– Expression_1 must be an absolute expression, and must contain onlyself-defining terms or previously defined symbols.v If only expression_1 is specified:– The assembler assigns a type attribute value of U.– If the EQU statement that defines the symbol is processed by the assemblerbefore the conditional assembly statement that refers to the symbol, theassembler assigns the length attribute of expression_1. Otherwise, theassembler assigns a length attribute value 1.You can use these values in conditional assembly statements, although referencesto the length attribute may be flagged.v If you specify expression_2 or expression_3 and you want to use the explicitattribute value during conditional assembly processing, then:– The symbol in the name field must be an ordinary symbol.– The expression must contain only self-defining terms.EXITCTLinstructionThe EXITCTL instruction sets or modifies the contents of the four signed fullwordexit-control parameters that the assembler maintains for each type of exit.►►sequence_symbolEXITCTLexit_type ▼ ,control_value(1)►◄Notes:1 From one to four values to be supplied.186 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>

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

Saved successfully!

Ooh no, something went wrong!