|
MC6800 Datasheet, PDF (18/32 Pages) Motorola, Inc – 8-BIT MICROPROCESSING UNIT (MPU) | |||
|
◁ |
I
FIGURE 18 â PROGRAM FLOW FOR BSR
SP~mâ2
mâ1
a(n +2)H
m
m+l
n
â+1 ]
tK = Offset*
I
n+l
n+ 2 I Next Main lâstr.
I
n+2
* K = Signed 7-Bit value
(a) Before Execution
-.
,~i)::~â
\ ,\~.,,
FIGURE 19 â PROGRAM FLOW FOR JSR (~TENDEm,\ â%,
FIGURE 20 â PROGRAM FLOW FOR JSR (lNDWED)
r
â1
JS R
I
n+ 2 I SL=Sub,.
Addr,
I
r
(a) Before Ex%utton
ââs=
(S formed from
SH and SL)
1
(b) After Execution
mâl
sPâm
m+l
7E
7A
B
mâ1
m
m+l
â
(n+2)H
(n+2)L
7E
7A
PC_n
JSR=AD
n+l
K = Of fsetâ
â+2
Next Main lâstr.
a
qK = 8-Bit Uâsigâed Value
PC+
â
â+1
â+2
JSR = AD
K = Offset
Next Main lâstr.
g
X.+K
1st S.br, Instr.
1
(a) Before Execution
1
âContents of Index Register
(b) Afrer Execuxion
MOTOROLA
Semiconductor Products Inc.
18
|
▷ |