HEIDENHAIN iTNC 530 HSCI Technical Manual page 1786

Hide thumbs Also See for iTNC 530 HSCI:
Table of Contents

Advertisement

Word processing
with the
EXCLUSIVE OR
NOT command
1786
XON (EXCLUSIVE OR NOT)
Syntax:
B, W, D, K
Operands:
Action:
Gate the contents of the word accumulator and the operand with EXCLUSIVE
OR NOT. In accordance with the different data widths of the operands (B = 8
bits; W = 16 bits; D = K = 32 bits), 8, 16 or 32 bits, respectively, are influenced
in the accumulator. Thus, bit 0 of the accumulator is gated with bit 0 of the
operand, bit 1 of the accumulator with bit 1 of the operand, etc. The iTNC
saves the result of the operation in the word accumulator.
Example:
Gate the content of words W4 and W6 with EXCLUSIVE OR NOT, and assign
the result to word W8.
Initial state:
Word W4
= 36 AA (hex)
Word W6
= 3C 36 (hex)
Word W8
= ?
Function
Load W6 into the word
accumulator.
Gate the contents of word
accumulator and word
W4 with EXCLUSIVE OR
NOT.
Assign the gating result to
word W8.
STL
Accumulator
content
L W6
3C36
XON
F563
W4
= W8
F563
HEIDENHAIN Technical Manual iTNC 530 HSCI
Operand content
3C36
36AA
F563

Advertisement

Table of Contents
loading

Table of Contents