7
DETAILS OF INSTRUCTIONS
S1C33 FAMILY C33 PE CORE MANUAL
EPSON
141
psrset
imm5
Function
Set PSR bit
Standard)
psr
←
psr |
imm5
Extension
1
) Unusable
Extension
2
) Unusable
Code
15
12
11
8
7
5
4
0
1
0
1
1
1
1
1
1
0
1
0
imm5
0xBF4_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Flag
IE C V Z N
↔
↔
↔
↔
↔
|
|
|
|
Mode
Immediate
CLK
Three cycles
Description
Set the bit in the PSR specified by the immediate
imm5
to
1
. The value of
imm5
indicates a
bit number, with values
0
,
1
,
2
,
3
, and
4
representing bits
0
(N),
1
(Z),
2
(V),
3
(C), and
4
(IE),
respectively. An
imm5
of more than
4
is not effective and does not alter the contents of PSR.
Example
psrset 2
; V
←
1 (V flag set)