Popc - Renesas R8C/Tiny Series Software Manual

16-bit single-chip microcomputer
Hide thumbs Also See for R8C/Tiny Series:
Table of Contents

Advertisement

Chapter 3
Functions

POPC

[ Syntax ]
POPC
dest
[ Operation ]
dest
M(SP)
SP
*1
SP
dest
*1 When
is SP or when the U flag = 0 and
[ Function ]
• This instruction restores data from the stack area to the control register indicated by
• When restoring an interrupt table register, always be sure to restore INTBH and INTBL in succession.
• No interrupt requests are accepted immediately after this instruction.
[ Selectable dest ]
[ Flag Change ]
Flag
U
I
O
Change
*3 *3 *3 *3 *3 *3 *3 *3
[ Description Example ]
POPC
SB
[ Related Instructions ]
Rev.2.00 Oct 17, 2005
REJ09B0001-0200
Restore control register
POP Control register
+
2
B
S
Z
D
C
PUSHC, LDC, STC, LDINTB
page 102 of 263
[ Instruction Code/Number of Cycles ]
dest
is ISP, 2 is not added to SP.
FB
SB
SP
*2
*2 Operation is performed on the stack pointer indi-
cated by the U flag.
*3 The flag changes only when
3.2
POPC
dest
dest
ISP FLG INTBH INTBL
dest
is FLG.
Functions
Page: 213
.

Advertisement

Table of Contents
loading

Table of Contents