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.

11.2.2 RLD Rotate Left Double Word (32-Bit)<br />

Format<br />

Description<br />

Status word<br />

RLD<br />

RLD <br />

Address Data type Description<br />

Shift and Rotate Instructions<br />

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

from 0 to 32<br />

RLD (rotate left double word) rotates the entire contents of ACCU1 to the left bit by<br />

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

states of the bits that are shifted out of ACCU 1. The bit that is rotated last is loaded<br />

into the status bit CC 1. The number of bit positions to be rotated is specified either<br />

by the address or by a value in ACCU 2-L-L.<br />

RLD : The number of rotations is specified by the address .<br />

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

reset to 0 if is greater than zero. If is equal to 0, the rotate<br />

instruction is regarded as a NOP operation.<br />

RLD: The number of rotations is specified by the value in ACCU 2- L- L. The<br />

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

0 if the contents of ACCU 2-L-L are greater than zero. If the rotation number is zero,<br />

then the rotate instruction is regarded as an NOP operation.<br />

BR CC 1 CC 0 OV OS OR STA RLO /FC<br />

writes: - x x x - - - - -<br />

<strong>Statement</strong> <strong>List</strong> (<strong>STL</strong>) for S7-300 and S7-400 Programming<br />

A5E00706960-01 11-15

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

Saved successfully!

Ooh no, something went wrong!