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
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...