5
INSTRUCTION SET
46
EPSON
S1C33 FAMILY C33 PE CORE MANUAL
5
.
17
Other Instructions
Flag control instructions
The C
33
PE Core has had new instructions added that enable the PSR flags to be manipulated directly. As
these flag control instructions can set and clear flags bitwise, it is possible to control interrupts by enabling or
disabling in one instruction.
psrset
imm5
Sets the PSR bit specified by
imm5
[
2
:
0
] (
0
–
4
) to
1
psrclr
imm5
Clears the PSR bit specified by
imm5
[
2
:
0
] (
0
–
4
) to
0
The contents of PSR are not altered when the
imm5
is
5
or more.