7 – 94 HEIDENHAIN Technical Manual TNC 426, TNC 430 
Word processing 
with the ASSIGN 
command 
Syntax: = (STORE)
Operands: B, W, D
Action:
Assign the content of the word accumulator to the addressed operand. Unlike 
bit execution, in word processing you can also use the = command within a 
sequence of word-gating operations. This command can be used several 
times in succession.
Example:
Gate a constant and byte B5 with AND, and assign the result to byte B8 and 
byte B10. 
Initial state:
Constant 54 = 36 (hex)
Byte B5 = 2A (hex)
Byte B8 = ? 
Byte B10 = ?
Function STL Accumulator contents [bit] Operand contents [bit]
31..15 ..................... 7 ................. 0 7 ............ 0
Load the constant 
into the word 
accumulator.
L K+54 0 ..... 0 000000000110110
Assign the contents 
of the word 
accumulator to byte 
B8.
= B8 0 ..... 0 000000000110110 00110110
Gate the contents of 
word accumulator 
and byte B5 with 
AND.
A B5 0 ..... 0 000000000100010 00101010
Assign the gating 
result to byte B8.
= B8 0 ..... 0 000000000100010 00100010
Assign the gating 
result to byte B10.
= B10 0 ..... 0 000000000100010 00100010