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.

DXD instructionASEMBLY2 CSECTUSING *,15USINGINAREA,3CLIINCODE,C’A’BEATYPEMVCOUTPUTA,DATA_BMVCOUTPUTB,DATA_ABFINISHATYPE DS 0HMVCOUTPUTA,DATA_AMVCOUTPUTB,DATA_BFINISH BR 14DATA_A DC CL8’ADATA’DATA_B DC CL8’BDATA’INAREA DSECTINCODE DS CL1OUTPUTA DS CL8OUTPUTB DS CL8ENDDXD instructionFigure 21. Sample code using the DSECT instruction (Assembly-2)The DXD instruction identifies and defines an external dummy section.►► symbol DXDduplication_factortypetype_extension►|►modifier,►◄▼nominal_valuesymbolis an external symbol which is one of the following:v An ordinary symbolv A variable symbol that has been assigned a character string with a value thatis valid for an ordinary symbolduplication_factoris the duplication factor subfield equivalent to the duplication factor subfieldof the DS instruction.typeis the type subfield equivalent to the type subfield of the DS instruction.type_extensionis the type extension subfield equivalent to the type extension subfield of theDS instruction.modifiersis the modifiers subfield equivalent to the modifiers subfield of the DSinstruction.Chapter 5. Assembler instruction statements 179

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

Saved successfully!

Ooh no, something went wrong!