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.

Binary Register Shift or Rotate (SL/SR/RL/RR)1-16Source: 1-81-32Object:8 15D IfJ IIIID Shift or rotate, bits 8 and 9:00 = SL (shift left)10 = SR (shift right)01 = R L (rotate left)11 = R R (rotate right)II Register type, bits 10 and 11:00 = Binary half-register (BRn(l)) <strong>of</strong> 1 byte01 = Binary full register (BRn) <strong>of</strong> 2 bytes10 = Binary double register (BRn(4)) <strong>of</strong> 4 bytes, with the high-order bit<strong>of</strong> the shift/rotate count = 011 = Binary double-register (BRn(4)) <strong>of</strong> 4 bytes, with the high-order bit<strong>of</strong> the shift/rotate count = 1II Shift or rotate count: For a full register, the number minus 1 (hex O-F) <strong>of</strong> bitsto shift/rotate. For a half register, the number minus 1 (hex 0-7) <strong>of</strong> bits toshift/rotate. For a double register,-the low-order 4 bits <strong>of</strong> the number minus 1(hex 00-1 F) <strong>of</strong> bits to shift/rotate.II Result register address: The address <strong>of</strong> the binary register or labeled area thatcontains the data to shift/rotate and that will contain the shifted/rotated data.The contents <strong>of</strong> the result register is shifted or rotated as specified. Shift operationsmove the contents <strong>of</strong> the register out <strong>of</strong> one end <strong>of</strong> the register and set the bits fromwhich data was shifted to zero.Rotate operations move the contents <strong>of</strong> the register out <strong>of</strong> one end and into theother end <strong>of</strong> the register.Object Code Instruction Format 245

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

Saved successfully!

Ooh no, something went wrong!