Chapter 5 Instruction Specifications
5-68
Item number Application instructions-1 Name Bit set
Ladder format Condition code Processing time (µs) Remark
R7F4 R7F3 R7F2 R7F1 R7F0 Average Maximum
BSET (d, n) DER ERR SD V C Upper case: W
zzzzz 26 Lower case: DW
Instruction format Number of steps
Condition Steps
BSET (d, n) 3 35
Bit Word Double word
Usable I/O XY
R,
M
TD, SS,
CU, CT WX WY
WR,
WM TC DX DY
DR,
DM
Constant
Other
d I/O to be set the bit {{{ {{
n Bit location to be set {{{{ {
The constant is set in
decimal.
Function
Sets the nth bit in the I/O (word or double word) specified by d to “1.”
Other bit contents are unaltered.
. . . . . . . . . . . . . . . . . . 5
d
43210n
1
n-1n+1
“1” is set.
. . . . . . . . . . . . . . . . . . . . . . . .
If d is a word: Designates the bit location depending on the contents (0 to 15) of the lower 4 bits (b3 to b0) of n (WX,
WY, WR, WM, TC). (Upper bits are ignored and considered as “0.”)
The n (constant) can be set to 0 to 15 (decimal).
If d is a double word: Designates the bit location depending on the contents (0 to 31) of the lower 5 bits (b4 to b0) of n (WX,
WY, WR, WM, TC). (Upper bits are ignored and considered as “0.”)
The n (constant) can be set to 0 to 31 (decimal).
BEST (d, n)