![Oki MSM85C154HVS User Manual Download Page 355](http://html1.mh-extra.com/html/oki/msm85c154hvs/msm85c154hvs_user-manual_3635106355.webp)
MSM80C154S/83C154S/85C154HVS
348
89. RETI (Return from interrupt routine)
0
0
1
1
0
0
1
0
7
0
Instruction code
Operations
Number of bytes
Number of cycles
Flags
(PSW)
Description
:
Byte 1
(PC
8~15
)
←
((SP))
(SP)
←
(SP)–1
(PC
0~7
)
←
((SP))
(SP)
←
(SP)–1
*INTERRUPT ENABLE
:
C
AC
F0
RS1 RS0 OV
F1
P
:
:
:
This return instruction functions as an interrupt routine terminat-
ing instruction. If a priority interrupt is generated while a non
priority interrupt routine is being executed, the CPU commences
to process the priority interrupt. And once processing of this
interrupt is commenced, no other interrupts can be processed
until the RETI instruction is executed.
Stack contents addressed by the stack pointer are popped in
the upper order 8 thru 15 of the program counter, and the stack
pointer is decremented by 1. Then the stack contents address-
ed by the updated stack pointer are popped in the lower order 0
thru 7 of the program counter, again decrementing the stack
pointer by 1. The program counter is updated with the stack
contents, and control is shifted to the address after updating. If
a new interrupt is generated, the CPU commences to process
the interrupt.
:
1
2
Summary of Contents for MSM85C154HVS
Page 1: ...MSM80C154S MSM83C154S MSM85C154HVS USER S MANUAL...
Page 8: ...1 INTRODUCTION...
Page 9: ...MSM80C154S 83C154S 85C154HVS 2...
Page 15: ...MSM80C154S 83C154S 85C154HVS 8...
Page 16: ...2 SYSTEM CONFIGURATION...
Page 17: ...MSM80C154S 83C154S 85C154HVS 10...
Page 48: ...3 CONTROL...
Page 49: ...MSM80C154S 83C154S 85C154HVS 42...
Page 60: ...4 INTERNAL SPECIFICATIONS...
Page 61: ...MSM80C154S 83C154S 85C154HVS 54...
Page 197: ...MSM80C154S 83C154S 85C154HVS 190 5 INPUT OUTPUT PORTS...
Page 198: ...INPUT OUTPUT PORTS 191...
Page 220: ...INPUT OUTPUT PORTS 213...
Page 221: ...MSM80C154 83C154 85C154 214 6 ELECTRICAL CHARACTERISTICS...
Page 222: ...ELECTRICAL CHARACTERISTICS 215...
Page 236: ...7 DESCRIPTION OF INSTRUCTIONS...
Page 237: ...MSM80C154S 83C154S 85C154HVS 230...