22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DXD Instruction<br />

ASEMBLY2 CSECT<br />

USING ,15<br />

USING<br />

INAREA,3<br />

CLI<br />

INCODE,C'A'<br />

BE<br />

ATYPE<br />

MVC<br />

OUTPUTA,DATA_B<br />

MVC<br />

OUTPUTB,DATA_A<br />

B<br />

FINISH<br />

ATYPE DS H<br />

MVC<br />

OUTPUTA,DATA_A<br />

MVC<br />

OUTPUTB,DATA_B<br />

FINISH BR 14<br />

DATA_A DC CL8'ADATA'<br />

DATA_B DC CL8'BDATA'<br />

INAREA DSECT<br />

INCODE DS CL1<br />

OUTPUTA DS<br />

CL8<br />

OUTPUTB DS<br />

CL8<br />

END<br />

Figure 54. Sample Code Using the DSECT Instruction (Assembly-2)<br />

DXD Instruction<br />

The DXD instruction identifies and defines an external dummy section.<br />

►►──symbol──DXD──┬────────────────────┬──type──┬────────────────┬───►<br />

└─duplication_factor─┘<br />

└─type_extension─┘<br />

►──┬──────────┬──┬───────────────────┬─────────────────────────────►◄<br />

└─modifier─┘<br />

│ ┌<br />

───────────────┐<br />

│<br />

└── ▼ ─nominal_value─┴─┘<br />

symbol<br />

is an external symbol which is one of the following:<br />

An ordinary symbol<br />

A variable symbol that has been assigned a character string with a value<br />

that is valid for an ordinary symbol<br />

duplication_factor<br />

is the duplication factor subfield equivalent to the duplication factor subfield of<br />

the DS instruction.<br />

type<br />

is the type subfield equivalent to the type subfield of the DS instruction.<br />

type_extension<br />

is the type extension subfield equivalent to the type extension subfield of the<br />

DS instruction.<br />

modifiers<br />

is the modifiers subfield equivalent to the modifiers subfield of the DS<br />

instruction.<br />

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