|
SM8521 Datasheet, PDF (53/56 Pages) Sharp Electrionic Components – 8-Bit Single-Chip Microcomputer | |||
|
◁ |
Bit Operation Instructions
INSTRUCTION OPERAND
FUNCTION
BAND
BCLR
BF, src
dst
BFâBF AND src
(Bit And)
dstâ0 (Bit Clear)
BCMP
BMOV
BOR
BSET
BF, src
dst, src
dst, src
dst
BFâsrc (Bit Compare)
dstâsrc (Bit Move)
dstâBF OR src (Bit OR)
dstâ1 (Bit Set)
BTST
dst, src
dst AND src (Bit Test)
BXOR
BF, src
BFâBF XOR src
(Bit Exclusive OR)
Rotate and Shift Instructions
INSTRUCTION OPERAND
FUNCTION
RLC
dst
(Rotate Left through Carry)
RR
dst
(Rotate Right)
RRC
dst
(Rotate Right through Carry)
SLL
dst
(Shift Left Logical)
SRA
dst
(Shift Right Arithmetic)
SRL
dst
(Shift Right Logical)
SWAP dst
(Swap Nibbles)
CPU Control Instructions
INSTRUCTION OPERAND
FUNCTION
CLRC
Câ0 (Clear Carry Flag)
COMC
CâNOT C
(Complement Carry Flag)
DI
Iâ0 (Disable Interrupt)
EI
Iâ1 (Enable Interrupt)
HALT
Move to HALT mode
(Halt CPU)
NOP
No Opreration
(No Opreration)
SETC
Câ1 (Set Carry Flag)
STOP
Go to STOP mode
(Stop CPU)
- 53 -
SM8521
|
▷ |