![Oki MSM85C154HVS Скачать руководство пользователя страница 67](http://html1.mh-extra.com/html/oki/msm85c154hvs/msm85c154hvs_user-manual_3635106067.webp)
MSM80C154S/83C154S/85C154HVS
60
4.2.3 Stack
The stack data save (storage) area is in the internal data memory (RAM), and is specified by
stack pointer (SP 81H).
Although 07H data is automatically set in the stack pointer when the CPU is reset, any desired
data can be set by software to enable the data memory to be used as stack from any address.
Two bytes of data memory are used when the stack is used by interrupt or CALL instruction,
and a single byte of data memory is used when the PUSH instruction is used. The status
where an interrupt is generated and the program counter contents are saved in the stack
when the stack pointer contents are 7FH, and the status where accumulator contents are
pushed during interrupt routine and are subsequently saved in the stack are shown in Table
4-2. The stack status up to completion of interrupt processing upon execution of POP and
RETI instructions is also included.
Table 4-2 Stack storage layout
Stack processing
Stack
pointer
RAM data bit
7
6
5
4
3
2
1
0
Before execution
7FH
D7
D6
D5
D4
D3
D2
D1
D0
Interrupt process
80H
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
(push PC)
81H
PC15 PC14 PC13 PC12 PC11 PC10
PC9
PC8
PUSH process (ACC)
82H
A7
A6
A5
A4
A3
A2
A1
A0
POP process (ACC)
82H
A7
A6
A5
A4
A3
A2
A1
A0
RETI process (pop PC)
81H
PC7
PC6
PC5
PC4
PC3
PC2
PC1
PC0
80H
PC15 PC14 PC13 PC12 PC11 PC10
PC9
PC8
After execution
7FH
D7
D6
D5
D4
D3
D2
D1
D0
Содержание MSM85C154HVS
Страница 1: ...MSM80C154S MSM83C154S MSM85C154HVS USER S MANUAL...
Страница 8: ...1 INTRODUCTION...
Страница 9: ...MSM80C154S 83C154S 85C154HVS 2...
Страница 15: ...MSM80C154S 83C154S 85C154HVS 8...
Страница 16: ...2 SYSTEM CONFIGURATION...
Страница 17: ...MSM80C154S 83C154S 85C154HVS 10...
Страница 23: ...MSM80C154S 83C154S 85C154HVS 16 MSM80C154STS MSM83C154STS 44 Pin Plastic TQFP TQFP44 P 1010 0 80 K...
Страница 48: ...3 CONTROL...
Страница 49: ...MSM80C154S 83C154S 85C154HVS 42...
Страница 60: ...4 INTERNAL SPECIFICATIONS...
Страница 61: ...MSM80C154S 83C154S 85C154HVS 54...
Страница 197: ...MSM80C154S 83C154S 85C154HVS 190 5 INPUT OUTPUT PORTS...
Страница 198: ...INPUT OUTPUT PORTS 191...
Страница 220: ...INPUT OUTPUT PORTS 213...
Страница 221: ...MSM80C154 83C154 85C154 214 6 ELECTRICAL CHARACTERISTICS...
Страница 222: ...ELECTRICAL CHARACTERISTICS 215...
Страница 236: ...7 DESCRIPTION OF INSTRUCTIONS...
Страница 237: ...MSM80C154S 83C154S 85C154HVS 230...