High
−
level Instructions
3
−
148
Description
Performs exclusive OR operation on each bit in the 16-bit equivalent constant or 16-bit data specified by S1
and S2. The exclusive OR operation result is stored in the 16-bit area specified by D.
{
(S1)
(S2)
}
{
(S1)
(S2)
}
→
(D)
Detects the bits whose on and off states do not match.
If the values of S1 and S2 are equal, all the bits of the data specified by D become 0.
Exclusive OR operation
The exclusive OR operation is shown below.
S1
S2
D
0
0
0
0
1
1
1
0
1
1
1
0
Flag conditions
・
Error flag (R9007): Turns on and stays on when the area specified using the index modifier
exceeds the limit.
・
Error flag (R9008): Turns on for an instant when the area specified using the index modifier
exceeds the limit.
・
= flag (R900B):
Turns on for an instant when the calculated result is recognized as “0”.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...