
104
Chapter 3 Functions
3.2 Functions
POP Control register
Restore control register
[ Flag Change ]
[ Description Example ]
[ Related Instructions ] PUSHC,LDC,STC,LDINTB
POPC POPC
[ Syntax ]
POPC dest
[ Function ]
• This instruction restores from the stack area to the control register indicated by
dest
.
• When restoring the interrupt table register, always be sure to restore INTBH and INTBL in succession.
• No interrupt requests are accepted immediately after this instruction.
POPC SB
[ Operation ]
dest M(SP)
SP
*1
SP + 2
UIOBSZDC
*3 *3 *3 *3 *3 *3 *3 *3
*3 The flag changes only when
dest
is FLG.
[ Selectable dest ]
dest
FB SB SP
*2
ISP FLG INTBH INTBL
*2 Operation is performed on the stack pointer indi-
cated by the U flag.
[ Instruction Code/Number of Cycles ]
Page=
215
Flag
Change
*1 When
dest
is SP or when the U flag = “0” and
dest
is ISP, the value 2 is not added to SP.
Comentarios a estos manuales