26.10.2012 Views

Statement List (STL) - DCE FEL ČVUT v Praze

Statement List (STL) - DCE FEL ČVUT v Praze

Statement List (STL) - DCE FEL ČVUT v Praze

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Shift and Rotate Instructions<br />

11.1.7 SRD Shift Right Double Word (32-Bit)<br />

Formate<br />

Description<br />

Status word<br />

SRD<br />

SRD <br />

Address Data type Description<br />

integer, unsigned number of bit positions to be shifted, range<br />

from 0 to 32<br />

SRD (shift right double word) shifts the entire contents of ACCU 1 to the right bit by<br />

bit. The bit places that are vacated by the shift instruction are filled with zeros. The bit<br />

that is shifted out last is loaded into the status word bit CC 1. The number of bit<br />

positions to be shifted is specified either by the address or by a value in<br />

ACCU 2-L-L.<br />

SRD : The number of shifts is specified by the address . The<br />

permissible value range is from 0 to 32. The status word bits CC 0 and OV are reset<br />

to 0 if is greater thnan zero. If is equal to 0, the shift instruction<br />

is regarded as a NOP operation.<br />

SRD: The number of shifts is specified by the value in ACCU 2- L- L. The possible<br />

value range is from 0 to 255. A shift number >32 always produces the same result:<br />

ACCU 1 = 0, CC 1 = 0, CC 0 = 0, and OV = 0. If 0 < shift number

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

Saved successfully!

Ooh no, something went wrong!