|
M38203M4 Datasheet, PDF (314/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPENDIX
3.5 Machine instructions
3.5 Machine instructions
Symbol
Function
ADC
(Note 1)
(Note 5)
When T = 0
AâA+M+C
When T = 1
M(X) â M(X) + M + C
AND
(Note 1)
WA hâenATV=M0
When T
M(X) â
=1
M(X)
V
M
ASL
70
Câ
â0
BBC
(Note 4)
BBS
(Note 4)
BCC
(Note 4)
BCS
(Note 4)
BEQ
(Note 4)
BIT
Ab or Mb = 0?
Ab or Mb = 1?
C = 0?
C = 1?
Z = 1?
V
AM
BMI
(Note 4)
BNE
(Note 4)
BPL
(Note 4)
BRA
N = 1?
Z = 0?
N = 0?
PC â PC ± offset
BRK
Bâ1
M(S) â PCH
SâSâ1
M(S) â PCL
SâSâ1
M(S) â PS
SâSâ1
PCL â ADL
PCH â ADH
Addressing mode
Details
IMP
IMM
A
BIT, A
ZP
BIT, ZP
OP n # OP n # OP n # OP n # OP n # OP n #
Adds the carry, accumulator and memory con-
tents. The results are entered into the
accumulator.
Adds the contents of the memory in the ad-
dress indicated by index register X, the
contents of the memory specified by the ad-
dressing mode and the carry. The results are
entered into the memory at the address indi-
cated by index register X.
69 2 2
65 3 2
âANDâsâ the accumulator and memory con-
tents.
The results are entered into the accumulator.
âANDâsâ the contents of the memory of the ad-
dress indicated by index register X and the
contents of the memory specified by the ad-
dressing mode. The results are entered into
the memory at the address indicated by index
register X.
29 2 2
25 3 2
Shifts the contents of accumulator or contents
of memory one bit to the left. The low order bit
of the accumulator or memory is cleared and
the high order bit is shifted into the carry flag.
0A 2 1
06 5 2
Branches when the contents of the bit speci-
fied in the accumulator or memory is â0â.
1+3 4 2
2i
1+7 5 3
2i
Branches when the contents of the bit speci-
fied in the accumulator or memory is â1â.
0+3 4 2
2i
0+7 5 3
2i
Branches when the contents of carry flag is
â0â.
Branches when the contents of carry flag is
â1â.
Branches when the contents of zero flag is â1â.
âANDâsâ the contents of accumulator and
memory. The results are not entered any-
where.
Branches when the contents of negative flag is
â1â.
Branches when the contents of zero flag is â0â.
24 3 2
Branches when the contents of negative flag is
â0â.
Jumps to address specified by adding offset to
the program counter.
Executes a software interrupt.
00 7 1
3-30
3820 GROUP USERâS MANUAL
|
▷ |