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.

Data attributescharacter_stringis a character string that represents the operation code in the operation codeattribute.Examples:T’SYMBOLL’&VARK’&PARAMO’MVCS’=P’975.32’The assembler substitutes the value of the attribute for the attribute reference.<strong>Ref</strong>erence to the count (K'), defined (D'), number (N'), operation code (O'), andtype (T') attributes can be used only in conditional assembly instructions or withinmacro definitions. The length (L'), integer (I'), and scale (S') attribute references canbe in conditional assembly instructions, machine instructions, assemblerinstructions, and the operands of macro instructions.Attributes of symbols and expressionsTable 52 shows attribute references (in the columns) and types of symbols (in therows). Each intersection shows whether (“Yes”) or not (“No”) you can validlyapply the attribute reference to that symbol type, or (in the case of SET symbols) tothe value of the symbol.Table 52. Attributes and related symbolsSymbolsSpecifiedTypeT'LengthL'ScaleS'IntegerI'CountK'NumberN'DefinedD'OperationCode O'In open code:OrdinarysymbolsYesYesYesYesNoNoYesNoSystem variablesymbols withglobal scopeYesNoNoNoYesYesNoNo||||Literals inmacroinstructionoperandsYesYesYesYesNoNoYesNoIn macrodefinitions:OrdinarysymbolsYesYesYesYesNoNoYesNoSymbolicparametersYesYesYesYesYesYesYesYesSystem variablesymbols:&SYSLISTYesYesYesYesYesYesYesNoAll othersYesNoNoNoYesYesNoNoLiterals inmacro instructionoperandsYesYesYesYesNoNoYesNoChapter 9. How to write conditional assembly instructions 323

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

Saved successfully!

Ooh no, something went wrong!