English
Language : 

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