13.07.2015 Views

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

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.

Decimal Register Shift Right, Blank Pad (SR)Source: Ra SR 1Ra Rb SR~ ~I I IObject: 16([~-:J1I0 8 I15I 23 I 31D fJ IID Result decimal register address: The address <strong>of</strong> the decimal register that willcontain the shifted data upon completion <strong>of</strong> this operation.fJ Shift decimal register address: The address <strong>of</strong> the decimal register that containsthe data to shift, or a constant 1 if you want to blank the result register.Note: If a constant 1 is used, II must also be 1. This is the quickest way toblank a decimal register.II Shift count: The number <strong>of</strong> bytes to shift the data. The shift count can bespecified as a constant (hex O-F) followed by hex 0, or as a decimal registerthat contains the shift count in the digits portion <strong>of</strong> the low-order byte <strong>of</strong> theregister.The bytes <strong>of</strong> the shift register are shifted right the number <strong>of</strong> bytes indicated by theshift count, and the shifted result is placed into the result register. The high-orderbytes <strong>of</strong> the shifted result contain blanks (hex 40) for the number <strong>of</strong>, positionsshifted. If a negative number is shifted right, the D-zone is shifted out <strong>of</strong> the registerand the register contents are no longer negative.If a constant 1 is specified for the sh ift register, the bytes are sh if ted as though fJwere a decimal register with decimal 1 in the rightmost byte, and bytes 0-14 wereblanks. The rightmost byte is shifted out <strong>of</strong> the register so the register containsonly blanks. These blanks replace the contents <strong>of</strong> the result register.Object Code I nstruction Format 159

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

Saved successfully!

Ooh no, something went wrong!