3.5 BTS (16-bit Data Specified Bit Set)
3.5 BTS (16-bit Data Specified Bit Set)
Instruction format
Operation unit (●: Available)
List of operands
Device address of target data
Bit number (device address or constant) (Settable rangel: 0 to 15)
Available devices (●: Available)
*1:Only 16-bit deivces, 32-bit devices, and integer constants can be modified. (Real number constants and character
constants cannot be specified.)
Outline of operation
Turns ON (1) the [n]th bit in the area specified by [D] according to the operation unit of [i].
Other bits except the bit specified by [D] do not change.
Specify [n] within the range of U0 to U15.
Processing
Sets the [n]th bit of target data.
Example 1) Specifying a constant for the bit number
D: DT0, n: U7