Delta AS Series Programming Manual page 376

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Additional remarks
Binary representation of the value and its absolute value:
1.
Whether the data is a positive value or a negative value depends on the value of the highest bit in the register. If
the highest bit in the register is 0, the data is a positive value. If the highest bit is 1, the data is a negative value.
2.
You can convert the negative value into its absolute value with the instruction NEG.
(D0)=2
0 0 0 0 0 0 0 0 0 0 0 0 0 0
(D0)=1
0 0 0 0 0 0 0 0 0 0 0 0 0 0
(D0)=0
0 0 0 0 0 0 0 0 0 0 0 0 0 0
Ch a pt er 6 A pp l i e d I n s tr uc t io ns
1
0
0
1
0
0
6_
6 - 9 7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents