Bit Clear (Bc) - HEIDENHAIN iTNC 530 HSCI Technical Manual

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

Advertisement

9.8.57 BIT CLEAR (BC)

July 2013
BC (BIT CLEAR)
Syntax:
B, W, D, K, X
Operands:
Action:
The BIT CLEAR command is used to 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 iTNC 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
= ?
Function
Load the double word D8
into the word accumulator
Set the bit specified in the
operand to 0.
Assign the result to
double word D12.
9.8 Command Set
STL
Accumulator
content
L D8
3E81
BC K+0 3E80
= D12
3E80
Operand content
3E81
3E80
1809

Advertisement

Table of Contents
loading

Table of Contents