22.07.2013 Views

Instruction list for S7-300 - DCE FEL ČVUT v Praze

Instruction list for S7-300 - DCE FEL ČVUT v Praze

Instruction list for S7-300 - DCE FEL ČVUT v Praze

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.

List of <strong>Instruction</strong>s List of <strong>Instruction</strong>s<br />

Shift <strong>Instruction</strong>s<br />

Shifting the contents of ACCU1 and ACCU1-L to the left or right<br />

by the specified number of places. If no address identifier is<br />

specified, shift the number of places into ACCU2-LL. Any positions<br />

that become free are padded with zeros or the sign. The last<br />

bit shifted is in condition code bit CC 1.<br />

<strong>Instruction</strong><br />

Address<br />

Identifier<br />

Description<br />

Length<br />

in<br />

Words<br />

312*/313 314/314*<br />

Typical Execution Time in s<br />

315/315-2/<br />

316-2<br />

SLW – Shift the contents of ACCU1-L to 1 3.0 1.5 2.0 0.1<br />

SLW 0 ... 15<br />

the left left. Positions that become free<br />

are provided with zeros. 1.8 0.6 0.7 0.1<br />

SLD – Shift the contents of ACCU1 to the 1 4.5 1.7 3.1 0.1<br />

SLD 0 ... 32<br />

left left. Positions that become free are<br />

provided with zeros. 4.9 2.9 3.1 0.1<br />

SRW – Shift the contents of ACCU1-L to 1 3.0 1.5 2.0 0.1<br />

SRW 0 ... 15<br />

the right right.Positions Positions that become<br />

free are provided with zeros. 1.8 0.6 0.7 0.1<br />

SRD – Shift the contents of ACCU1 to the 1 4.5 1.7 3.1 0.1<br />

SRD 0 ... 32<br />

right right.Positions Positions that become free are<br />

provided with zeros. 4.9 2.9 3.2 0.1<br />

SSI – Shift the contents of ACCU1-L<br />

with sign to the the right.Positions that<br />

SSI 0 ... 15 bbecome ffree are provided id d with i h the h<br />

sign (bit 15).<br />

1 2.9 1.6<br />

318-2<br />

1.8 0.1<br />

1.8 0.6 6<br />

0.7 0.1<br />

Status word <strong>for</strong>: SLW, SLD, SRW, SRD,<br />

SSI<br />

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

<strong>Instruction</strong> depends on: – – – – – – – – –<br />

<strong>Instruction</strong> affects: – Yes Yes Yes – – – – –<br />

128<br />

<strong>S7</strong>-<strong>300</strong> <strong>Instruction</strong> List <strong>S7</strong>-<strong>300</strong> <strong>Instruction</strong> List<br />

EWA 4NEB 710 6087-02 EWA 4NEB 710 6087-02<br />

129

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

Saved successfully!

Ooh no, something went wrong!