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.

Input/Output Operations<br />

For further details, see “Control Instructions” in the applicable Principles of<br />

Operation manual.<br />

Input/Output Operations<br />

Use the input/output instructions (instead of the IBM-supplied system macro<br />

instructions) when you want to control your input and output operations more<br />

closely.<br />

The input or output instructions let you identify the channel or the device on which<br />

the input or output operation is to be done. For information about how and when<br />

you can use these instructions, see the applicable system manual.<br />

For more information, see “Input/Output Operations” in the applicable Principles of<br />

Operation manual and the applicable system manuals.<br />

Branching with Extended Mnemonic Codes<br />

Branch instructions let you specify an extended mnemonic code for the condition on<br />

which a branch is to occur. Thus, you avoid having to specify the mask value, that<br />

represents the condition code, required by the BC, BCR, and BRC machine<br />

instructions. The assembler translates the extended mnemonic code into the mask<br />

value, and then assembles it into the object code of the BC, BCR, or BRC machine<br />

instruction.<br />

| The extended branch mnemonics for the BC instruction require a base register; the<br />

| extended mnemonics for the BCR and BRC instructions do not. The extended<br />

| mnemonics for the BRC instruction begin with the letter “J,” and are sometimes<br />

| called “Jump” instructions, as indicated in Figure 22.<br />

The extended mnemonic codes are given in Figure 22 on page 81. They can be<br />

used as operation codes for branching instructions, replacing the BC, BCR, and<br />

BRC machine instruction codes (see ▌1▐ in Figure 22). Note that the first operand<br />

(see ▌2▐ in Figure 22) of the BC, BCR, and BRC instructions must not be present<br />

in the operand field (see ▌3▐ in Figure 22) of the extended mnemonic branching<br />

instructions.<br />

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