22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Macro and Conditional Assembly <strong>Language</strong> Summary<br />

Figure 118 (Page 2 of 2). Attributes<br />

Attribute<br />

Notation<br />

Can be used with:<br />

Scale S' Ordinary symbols<br />

defined in open code;<br />

symbolic parameters<br />

inside macro<br />

definitions;<br />

&SYSLIST(n), and<br />

&SYSLIST(n,m) inside<br />

macro definitions<br />

Integer I' Ordinary symbols<br />

defined in open code;<br />

symbolic parameters<br />

inside macro<br />

definitions;<br />

&SYSLIST(n), and<br />

&SYSLIST(n,m) inside<br />

macro definitions<br />

Count K' Symbolic parameters<br />

inside macro<br />

definitions;<br />

&SYSLIST(n), and<br />

&SYSLIST(n,m) inside<br />

macro definitions; SET<br />

symbols; all system<br />

variable symbols<br />

Number N' Symbolic parameters,<br />

&SYSLIST and<br />

&SYSLIST(n) inside<br />

macro definitions, with<br />

dimensioned SET<br />

symbols<br />

Defined D' Ordinary symbols<br />

defined in open code;<br />

symbolic parameters<br />

inside macro<br />

definitions; &SYSLIST<br />

and &SYSLIST(n)<br />

inside macro<br />

definitions; SETC<br />

symbols whose value<br />

is an ordinary symbol<br />

Operation<br />

Code<br />

O'<br />

A character string, or<br />

variable symbol<br />

containing a character<br />

string.<br />

Can be used only if<br />

Type Attribute is:<br />

H,F,G,D,E,L,K,P, and<br />

Z<br />

H,F,G,D,E,L,K,P, and<br />

Z<br />

Any letter or @<br />

Any letter<br />

Any value except M,<br />

N, O, T, U<br />

The @ and any letter<br />

except N, O and (only<br />

sometimes) U<br />

Can be used in:<br />

Arithmetic<br />

expressions<br />

Arithmetic<br />

expressions<br />

Arithmetic<br />

expressions<br />

Arithmetic<br />

expressions<br />

Arithmetic<br />

expressions<br />

SETC operand fields<br />

Character relations<br />

Refer to Chapter 9, “How to Write Conditional Assembly Instructions” on page 318<br />

for usage restrictions of the attributes in Figure 118.<br />

Figure 119 (Page 1 of 2). Variable Symbols<br />

Variable<br />

Symbol<br />

Declared<br />

by:<br />

Initialized<br />

or set to:<br />

Value<br />

changed<br />

by:<br />

May be used<br />

in:<br />

Symbolic parameter<br />

Prototype<br />

statement<br />

Corresponding<br />

macro<br />

instruction<br />

operand<br />

Constant<br />

throughout<br />

definition<br />

Arithmetic expressions<br />

if operand is<br />

self-defining term<br />

Character expressions<br />

Appendix C. Macro and Conditional Assembly <strong>Language</strong> Summary 415

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

Saved successfully!

Ooh no, something went wrong!