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.

Macro and conditional assembly language summaryBuilt-in functions fall into the following categories:Table 70. Built-in functionsValue Type FunctionsArithmetic AND, B2A, C2A, D2A, DCLEN, FIND, INDEX, NOT, OR, SLA, SLL,SRA, SRL, X2A, XORLogical AND, AND NOT, ISBIN, ISDEC, ISHEX, ISSYM, NOT, OR, ORNOT, XOR, XOR NOTCharacter A2B, A2C, A2D, A2X, B2C, B2D, B2X, BYTE, C2B, C2D, C2X, D2B,D2C, D2X, DCVAL, DEQUOTE, DOUBLE, LOWER, SIGNED,UPPER, X2B, X2C, X2D||||||||Table 71. AttributesAttribute Notation Can be used with:Type T' Ordinary symbolsdefined in open code;symbolic parametersinside macrodefinitions;&SYSLIST(n),&SYSLIST(n,m) insidemacro definitions;SET symbols; allsystem variablesymbolsLength L' Ordinary symbolsdefined in open code;symbolic parametersinside macrodefinitions;&SYSLIST(n), and&SYSLIST(n,m) insidemacro definitionsScale S' Ordinary symbolsdefined in open code;symbolic parametersinside macrodefinitions;&SYSLIST(n), and&SYSLIST(n,m) insidemacro definitionsInteger I' Ordinary symbolsdefined in open code;symbolic parametersinside macrodefinitions;&SYSLIST(n), and&SYSLIST(n,m) insidemacro definitionsCount K' Symbolic parametersinside macrodefinitions;&SYSLIST(n), and&SYSLIST(n,m) insidemacro definitions;SET symbols; allsystem variablesymbolsCan be used only ifType Attribute is: Can be used in:Any value SETC expressionsAny value except M,N, O, T, UH,F,G,D,E,L,K,P, andZH,F,G,D,E,L,K,P, andZCharacter relationsSETA and ordinaryarithmetic expressionsSETA and ordinaryarithmetic expressionsSETA and ordinaryarithmetic expressionsAny letter or @ or $ SETA and ordinaryarithmetic expressions410 <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!