7-328
ZONE(P),DZONE(P)
(2) The values that can be designated by , , and are in the range of from 32768 to
32767.
(3) The output value stored at is a signed 16-bit BIN value. Therefore, if the operation results
exceed the range of 32768 to 32767, the following will take place:
Output value 32768 + ( 100) 8000
H
+ FF9C 7F9C
H
32668
DZONE
(1) Adds bias value designated by ( , +1) or ( , +1) to input value designated by ( ,
+1), and stores the result at device number designated by ( , +1).
Addition of the bias value is performed as follows:
(2) The values designated by ( , +1), ( , +1), or ( , +1) are within the range of from
2147483648 to 2147483647.
(3) The value stored at ( , +1) is a signed 32-bit BIN value.
Therefore, if the operation results exceed the range of from 2147483648 to 2147483647,
the following takes place:
Output value 2147483648 + ( 1000) 80000000
H
+ FFFFFC18
H
7FFFFC18 2147482648.
Operation Error
(1) There are no operation errors associated with the ZONE(P) or DZONE(P) instructions.
When :
Negative bias value .............................. 100
Input value ............................................ 32768
When :
Negative bias value ( , +1).................. 1000
Input value ( , +1) ............................... 2147483648
S1
S2
S3
D
S1
S3
S1 S1
S2 S2
S3
S3
D D
+1
D
D
+1
S1 S1
Output value
Output value
Output value
+
Input value
Negative bias value
+
Input value
Positive bias value
0
+1
S3
S3
+1
S3
S3
+1
+1
D
D
+1
D
D
S2 S2
Input value
Input value
Input value
+1
S3 S3
+1
S3 S3
+1
S3 S3
0
0
0
When
When
When
Positive bias value
Negative bias value
S2
( , +1)
S2
D
Output value ( +1, )
D
Input value
( , +1
)
S3 S3
S1
( , +1)
S1
0
S1 S1
S2 S2
S3 S3
D D
S1 S1
S3 S3