APPENDIX
Appendix 6. Machine instructions
Addressing Modes
Operation
Symbol
Function
IMP
op
IMM
op
A
n
DIR DIR, X DIR, Y (DIR) (DIR, X) (DIR), Y L(DIR) L(DIR), Y
length (Bit)
n
#
n
#
op
# op n # op
n # op n # op n # op n # op n # op n # op n #
PER
EAR←PC + IMM16
M(S)←EARH
S←S – 1
16
M(S)←EARL
S←S – 1
PHA
PHB
PHD
m = 0
16/8
M(S)←AH
S←S – 1
M(S)←AL
S←S – 1
m = 1
M(S)←AL
S←S – 1
m = 0
16/8
M(S)←BH
S←S – 1
M(S)←BL
S←S – 1
m=1
M(S)←BL
S←S – 1
M(S)←DPR0H
S←S – 1
M(S)←DPR0
S←S – 1
16
16
L
PHD n
(Note 11)
M(S)←DPRnH
S←S – 1
M(S)←DPRn
S←S – 1
L
(n = 0 to 3)
When multiple DPRs are
specified, the above
operations are repeated.
PHG
M(S)←PG
S←S – 1
8
M(S)←DPRnH
S←S – 1
16
PHLD n
(Note 11)
M(S)←DPRnL
S←S – 1
DPRn←IMM16 (n = 0 to 3)
When multiple DPRs are
specified, the above
operations are repeated.
PHP
PHT
M(S)←PSH
S←S – 1
M(S)←PSL
S←S – 1
16
8
M(S)←DT
S←S – 1
7906 Group User’s Manual Rev.2.0
20-78