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.

DS instructionFIELD DS 4CL10AREA DS CL100Although FIELD might have been specified as one 40-byte field, the precedingdefinition has the advantage of providing FIELD with a length attribute of 10. Thiswould be pertinent when using FIELD as an SS machine instruction operand.DSECTinstructionThe DSECT instruction identifies the beginning or continuation of a dummycontrol section. One or more dummy sections can be defined in a source module.►►symbolDSECT►◄symbolis 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 symbolv A sequence symbolThe DSECT instruction can be used anywhere in a source module after the ICTLinstruction.If symbol denotes an ordinary symbol, the ordinary symbol identifies the dummysection. If several DSECT instructions within a source module have the samesymbol in the name field, the first occurrence initiates the dummy section and therest indicate the continuation of the dummy section. The ordinary symbol denotedby symbol represents the address of the first byte in the dummy section, and has alength attribute value of 1.If symbol is not specified, or if name is a sequence symbol, the DSECT instructioninitiates or indicates the continuation of the unnamed control section.The location counter for a dummy section is always set to an initial value of 0.However, when an interrupted dummy control section is continued using theDSECT instruction, the location counter last specified in that control section iscontinued.The source statements that follow a DSECT instruction belong to the dummysection identified by that DSECT instruction.Notes:1. The assembler language statements that appear in a dummy section are notassembled into object code.2. When establishing the addressability of a dummy section, the symbol in thename field of the DSECT instruction, or any symbol defined in the dummysection can be specified in a USING instruction.3. A symbol defined in a dummy section can be specified in an address constantonly if the symbol is paired with another symbol from the same dummysection, and if the symbols have opposite signs.Chapter 5. Assembler instruction statements 177

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

Saved successfully!

Ooh no, something went wrong!