176461 User Manual.book


Add to my manuals
515 Pages

advertisement

176461 User Manual.book | Manualzz

Logical Instructions

XOR - Exclusive OR

Instruction Type: output

Table 17-7: Execution Time for the XOR Instruction

Data Size

word long word

True

2.67

µ s

8.81

µ s

When Rung Is:

False

0.00

µ s

0.00

µ s

The XOR instruction performs a logical exclusive OR of two sources and places the result in the destination.

Table 17-8: Truth Table for the XOR Instruction

Destination = A XOR B

Source: A

1 1 1 1 1 0 1 0 0 0 0 0 1 1 0 0

Source: B

1 1 0 0 1 1 1 1 1 1 0 0 0 0 1 1

Destination:

0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1

For more information, see “Using Logical Instructions” on page 17-1 and “Updates to

Math Status Bits” on page 17-2.

17-5

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents