EasyManua.ls Logo

HEIDENHAIN TNC 430 PA/M - Bit Reset (Bc)

HEIDENHAIN TNC 430 PA/M
1135 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 138 HEIDENHAIN Technical Manual TNC 426, TNC 430
7.7.58 BIT RESET (BC)
Syntax: BC (BIT CLEAR)
Operands: B, W, D, K, X
Action:
With the BIT RESET command you can set each bit in the accumulator to 0.
The corresponding bits are selected (addressed) by the content of the
specified operand or by a constant. As to the bit numbering, bit 0 = LSB and
bit 31 = MSB. For operand contents greater than 32, the TNC uses the
operand value modulo 32, i.e. the integral remainder of the result of the
operand value divided by 32.
Example:
Load double word D8 into the accumulator, set bit 0 of the accumulator to 0,
and save the result in double word D12.
Initial state:
Double word D8 = 3E 81 (hex)
Double word D12 = ?
Accumulator and operand contents are shown here in hexadecimal notation.
Function STL Accumulator content (hex) Operand content (hex)
xx xx xx xx
Load the double
word D8 into the
word accumulator.
L D8 0 0 0 0 3 E 8 1 00 00 3E 81
Set the bit specified
in the operand to 0.
BC K+0 00 00 3E 80
Assign the result to
double word D12.
= D12 0 0 0 0 3 E 8 0 00 00 3E 80

Table of Contents

Related product manuals