8. Function Commands
DXOR, DXORP
- 244 -
{ DXOR, DXORP ... Exclusive OR of 32-bit data
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
3/4
S1
{
{ { { { { {
{
{ { { { { { { { { {
S2
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
4/5
Setting data
S2
S1
D
Setting data
S
The exclusive OR results
are stored in D device.
D
D
DXORP
S1
D
DXOR
S2
S1 S2
Operation command
DXOR
S D
DXORP
S D
Operation command
DXOR
DXORP
Data to be exclusive ORed
or head No. of device where
data is stored.
Data to be exclusive ORed
or head No. of device where
data is stored.
Head No. of device to store
exclusive OR results.
DXOR
DXORP
Function
DXOR S
D
,
DXORP S D
Exclusive OR is executed for each bit of the 32-bit data designated with D and designated with S, and
the results are stored in the device designated with D.
Before execution
D
10 0101101010100
DXOR,DXORP
00 1000111110001
32-bit
After execution
10 110
1010100101
D
S
DXOR
S2
S1 D
,
DXORP S2S1
D
Exclusive OR is executed for each bit of the 32-bit data designated with S1 and designated with S2,
and the results are stored in the device designated with D.
Before execution
S1
10 0101101010100
DXOR,DXORP
00 100
0111110001
32-bit
After execution
10 110
1010100101
D
S2