Download CP1E CPU Unit Software User`s Manual

Transcript
Appendices
Instruction
RESET
Mnemonic
RSET
Variations
Symbol/Operand
@/%/!/!@/!%
RSET
B
Function
RSET turns the operand bit OFF when the execution condition is ON.
Execution
condition of RSET
B: Bit
Status of B
MULTIPLE BIT
SET
SETA
@
SETA(530)
SETA(530) turns ON the specified number of consecutive bits.
D
N1
N2
N2 bits are set
to 1 (ON).
D: Beginning word
N1: Beginning bit
N2: Number of bits
MULTIPLE BIT
RESET
RSTA
@
RSTA(531)
RSTA(531) turns OFF the specified number of consecutive bits.
D
N1
N2
D: Beginning word
N1: Beginning bit
N2: Number of bits
SINGLE BIT
SET
SETB
@/!/!@
SETB(532)
D
N
N2 bits are
reset to 0
(OFF).
SETB(532) turns ON the specified bit in the specified word when
the execution condition is ON.
Unlike the SET instruction, SETB(532) can be used to reset a bit
in a DM word.
D: Word address
N: Bit number
SINGLE BIT
RESET
RSTB
@/!/!@
RSTB(533)
D
N
RSTB(533) turns OFF the specified bit in the specified word when
the execution condition is ON.
Unlike the RSET instruction, RSTB(533) can be used to reset a bit
in a DM word.
D: Word address
N: Bit number
A-4
CP1E CPU Unit Software User’s Manual(W480)