
Appendix D Use of Application Instructions|DOP-EXIO Series
Revision March, 2008, Doc. Name: 2007PDD23000014 D-69
Mnemonic Operands Function
ABS D
D
Absolute Value
Bit Devices Word Devices
X Y M S K H KnX KnY KnM KnS T C D E F
D
16-bit instruction (3 Steps)
ABS
Continuous
execution
32-bit instruction (5 Steps)
DABS
Continuous
execution
y Flags: None
Operands:
D
: Device of the absolute value
Explanations:
This instruction obtains the absolute value of the content in the designated in D.
Program Example:
When X0 = Off→On, obtain the absolute value of the content in D0.
X0
ABS D0
Komentáře k této Příručce