|
3806_03 Datasheet, PDF (211/223 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPENDIX
3.10 Machine instructions
Symbol
Function
BVC
(Note 4)
BVS
(Note 4)
CLB
V = 0?
V = 1?
Ab or Mb â 0
CLC
Câ0
Addressing mode
Details
IMP
IMM
A
BIT, A
ZP
BIT, ZP
OP n # OP n # OP n # OP n # OP n # OP n #
Branches when the contents of overflow flag is
â0â.
Branches when the contents of overflow flag is
â1â.
Clears the contents of the bit specified in the
accumulator or memory to â0â.
1+B 2 1
2i
1+F 5 2
2i
Clears the contents of the carry flag to â0â.
18 2 1
CLD
CLI
CLT
CLV
Dâ0
Iâ0
Tâ0
Vâ0
Clears the contents of decimal mode flag to D8 2 1
â0â.
Clears the contents of interrupt disable flag to 58 2 1
â0â.
Clears the contents of index X mode flag to 12 2 1
â0â.
Clears the contents of overflow flag to â0â.
B8 2 1
CMP
(Note 3)
COM
CPX
CPY
DEC
DEX
DEY
DIV
EOR
(Note 1)
INC
INX
INY
When T = 0
AâM
When T = 1
M(X) â M
__
MâM
XâM
YâM
A â A â 1 or
MâMâ1
XâXâ1
YâYâ1
A â (M(zz + X + 1),
M(zz + X)) / A
M(S) â 1âs complememt
of Remainder
SâSâ1
When T = 0
A â A Vâ M
When T = 1
M(X) â M(X) Vâ M
A â A + 1 or
MâM+1
XâX+1
YâY+1
Compares the contents of accumulator and
memory.
Compares the contents of the memory speci-
fied by the addressing mode with the contents
of the address indicated by index register X.
C9 2 2
Forms a oneâs complement of the contents of
memory, and stores it into memory.
Compares the contents of index register X and
memory.
E0 2 2
Compares the contents of index register Y and
memory.
C0 2 2
Decrements the contents of the accumulator
or memory by 1.
1A 2 1
Decrements the contents of index register X CA 2 1
by 1.
Decrements the contents of index register Y 88 2 1
by 1.
Divides the 16-bit data that is the contents of
M (zz + x + 1) for high byte and the contents of
M (zz + x) for low byte by the accumulator.
Stores the quotient in the accumulator and the
1âs complement of the remainder on the stack.
âExclusive-ORsâ the contents of accumulator
and memory. The results are stored in the ac-
cumulator.
âExclusive-ORsâ the contents of the memory
specified by the addressing mode and the
contents of the memory at the address indi-
cated by index register X. The results are
stored into the memory at the address indi-
cated by index register X.
49 2 2
Increments the contents of accumulator or
memory by 1.
3A 2 1
Increments the contents of index register X by E8 2 1
1.
Increments the contents of index register Y by C8 2 1
1.
C5 3 2
44 5 2
E4 3 2
C4 3 2
C6 5 2
45 3 2
E6 5 2
3-86
3806 GROUP USERâS MANUAL
|
▷ |