Word Execution With The Exclusive Or Not Command - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

Word execution with the EXCLUSIVE OR NOT command

Operands: B, W, D, K
Operation:
The contents of the Word Accumulator and the contents of the operand (B, W, D, K) are gated with
EXCLUSIVE OR NOT. In accordance with the different sizes of operand (B = 8 bit; W = 16 bit;
D = K = 32 bit), 8, 16 or 32 bits will be influenced in the Accumulator.
Thus:
Bit 0 in the Accumulator is gated with bit 0 in the operand
Bit 1 in the Accumulator is gated with bit 1 in the operand and so on.
The result of the operation is stored in the Logic Accumulator.
Example:
The contents of Word W4 and Word W6 are to be gated with EXCLUSIVE OR NOT and the result
assigned to Word W8.
Initial state:
Line Instruction
Bit
1
L W6
2
XON W4
3
= W8
Line 1: The contents of Word W6 are loaded into the Accumulator.
Line 2: The contents of the Word Accumulator and Word W4 are gated with
EXCLUSIVE OR NOT.
Line 3: The gating result is assigned to Word W8.
7-64
TNC 407/TNC 415/TNC 425
Word W4 = 36 AA (hex)
Word W6 = 3C 36
Word W8 = ?
Accumulator Contents
31 . . . 15
... x x x x x x x x x x x x x x x x x x
... 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 1 1 0
... 1 1 1 1 1 1 0 1 0 1 0 1 1 0 0 0 1 1
... 1 1 1 1 1 1 0 1 0 1 0 1 1 0 0 0 1 1
3 Commands
(hex)
7
Operand Contents
0
15
8 7
00111100 00110110
00110110 10101010
11110101 01100011
0
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents