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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A Overview of All <strong>STL</strong> Instructions<br />

A.1 <strong>STL</strong> Instructions Sorted According to German<br />

Mnemonics (SIMATIC)<br />

German<br />

Mnemonics<br />

English<br />

Mnemonics<br />

Program<br />

Elements<br />

Catalog<br />

+ + Integer math<br />

Instruction<br />

= = Bit logic<br />

Instruction<br />

) ) Bit logic<br />

Instruction<br />

Description<br />

Add Integer Constant (16, 32-Bit)<br />

Assign<br />

Nesting Closed<br />

+AR1 +AR1 Accumulator AR1 Add ACCU 1 to Address Register 1<br />

+AR2 +AR2 Accumulator AR2 Add ACCU 1 to Address Register 2<br />

+D +D Integer math<br />

Instruction<br />

–D –D Integer math<br />

Instruction<br />

*D *D Integer math<br />

Instruction<br />

/D /D Integer math<br />

Instruction<br />

Add ACCU 1 and ACCU 2 as Double Integer (32-Bit)<br />

Subtract ACCU 1 from ACCU 2 as Double Integer (32-Bit)<br />

Multiply ACCU 1 and ACCU 2 as Double Integer (32-Bit)<br />

Divide ACCU 2 by ACCU 1 as Double Integer (32-Bit)<br />

? D ? D Compare Compare Double Integer (32-Bit) ==, , >, =, , =,

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

Saved successfully!

Ooh no, something went wrong!