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.

DC Instruction<br />

Figure 33 (Page 2 of 2). Length Attribute Value of Symbol Naming Constants<br />

Type of<br />

constant<br />

C<br />

CU<br />

Implicit<br />

Length<br />

as needed<br />

as needed<br />

Examples<br />

DC C'ABC'<br />

DC CL8'WOW'<br />

DC CU'ABC'<br />

DC CUL4'XX'<br />

G as needed DC G''<br />

DC GL8''<br />

X as needed DC X'COFFEE'<br />

DC XL2'FFEE'<br />

H<br />

F<br />

FD<br />

E<br />

D<br />

L<br />

| LQ<br />

P<br />

Z<br />

Y<br />

A<br />

AD<br />

S<br />

V<br />

| VD<br />

J<br />

| JD<br />

Q<br />

| QD<br />

R<br />

| RD<br />

2<br />

4<br />

8<br />

as needed<br />

as needed<br />

4<br />

8<br />

16<br />

16<br />

2<br />

4<br />

8<br />

2<br />

4<br />

8<br />

4<br />

4<br />

8<br />

4<br />

8<br />

DC H'32'<br />

DC FL3'32'<br />

DC FD'32'<br />

DC P'123'<br />

DC PL4'123'<br />

DC Z'123'<br />

DC ZL1'123'<br />

DC E'565.4'<br />

DC DL6'565.4'<br />

DC LL12'565.4'<br />

DC LQ'565.4'<br />

DC Y(HERE)<br />

DC AL1(THERE)<br />

DC AD(WHERE)<br />

DC S(THERE)<br />

DC VL3(OTHER)<br />

DC VD(BIGOTHER)<br />

DC J(CLASS)<br />

DC JD(LARGECLASS)<br />

DC QL1(LITTLE)<br />

DC QD(BIGLITTLE)<br />

DC R(APSECT)<br />

DC RD(BPSECT)<br />

Note:<br />

1. Depends on whether or not an explicit length is specified in the constant.<br />

Value of<br />

Length<br />

Attribute<br />

3<br />

8<br />

6<br />

4<br />

4<br />

8<br />

3<br />

2<br />

2<br />

3<br />

8<br />

2<br />

4<br />

3<br />

10<br />

4<br />

6<br />

12<br />

16<br />

2<br />

1<br />

8<br />

2<br />

3<br />

8<br />

4<br />

8<br />

1<br />

8<br />

4<br />

8<br />

Padding and Truncation of Values<br />

The nominal values specified for constants are assembled into storage. The<br />

amount of space available for the nominal value of a constant is determined:<br />

By the explicit length specified in the length modifier, or<br />

If no explicit length is specified, by the implicit length according to the type of<br />

constant defined (see Appendix B, “Summary of Constants” on page 407).<br />

130 <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!