EasyManuals Logo

Siemens CPU 948 User Manual

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #130 background imageLoading...
Page #130 background image
Operation Operand Function
S ADD BN -128 to
+127
Add a byte constant (fixed point) to ACCU-1-L (includes
sign change)/the condition code in CC 0, CC 1, OV and
OS are not affected! – ACCU-1-H and ACCUs 2 to 4
remain unchanged.
S ADD KF -32 768 to
+32 767
Add a fixed point constant (word) to ACCU-1-L/ the
condition codes in CC 0, CC 1, OV and OS are not
affected! – ACCU-1-H and ACCUs 2 to 4 remain unchanged.
S ADD
1)
DH 0000 0000
to
FFFF FFFF
Add a double word fixed point constant to ACCU 1/the
condition codes in CC 0, CC 1, OV and OS are not affected! –
ACCUs 2 to 4 remain unchanged.
S +D
1)
Add two double word fixed point constants
(ACCU 2 + ACCU 1)/the result can be evaluated
in CC 0/CC 1.
2)
S -D
1)
Subtract two double word fixed point constants
(ACCU 2 - ACCU 1)/the result can be evaluated in CC 0/CC 1.
2)
S TAK Swap the contents of ACCU 1 and ACCU 2
1)
Programming is dependent on the PG type and the release of the PG system software.
2)
For changes in ACCU 2 and ACCU 3: see Section 3.5.1 "Basic Operations/Arithmetic Operations".
Table 3-20 Supplementary arithmetic operations
Supplementary Operations
CPU 948 Programming Guide
3 - 58 C79000-G8576-C848-04

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens CPU 948 and is the answer not in the manual?

Siemens CPU 948 Specifications

General IconGeneral
BrandSiemens
ModelCPU 948
CategoryController
LanguageEnglish

Related product manuals