Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1667

Hide thumbs Also See for MANUALplus 620:

Advertisement

Word processing
with the LOAD NOT
command
January 2012
Syntax:
LN (LOAD NOT)
Operands:
B, W, D, K
Action:
Load the complement of the addressed operand, or of a constant, into the
word accumulator. If necessary, the accumulator is supplemented with the
correct algebraic sign. In contrast to logical operations, you must always begin
a sequence of word gating operations with an L command. You cannot replace
the L command with a logical gating instruction.
Example:
Gate the complement of byte B6 and byte B5 with AND, and assign the result
to byte B8.
Initial state:
Byte
B5
= 2A (hex)
Byte
B6
= B6 (hex)
Byte
B8
= ?
Function
Invert byte B6, and load
into the word accu.
Gate the contents of the
word accumulator and
byte B5 with AND.
Assign the gating result to
byte B8.
8.15 Command Set
STL
Accumulator
content
LN B6
2A
A B5
= B8
Operand content
B6
22
1667

Advertisement

loading