SETPAN
Set Privileged Access Never
Set Privileged Access Never writes a new value to PSTATE.PAN.
This instruction is available only in privileged mode and it is a NOP when executed in User mode.
It has encodings from the following instruction sets:
A32 (
A1
)
and
T32 (
T1
)
.
1
1
1
1
0
0
0
1
0
0
0
1
(0)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
(0)
0
0
0
0
(0)
(0)
(0)
(0)
SETPAN{<q>} #<imm>
if !HavePANExt() then UNDEFINED;
value = imm1;
1
0
1
1
0
1
1
0
0
0
0
(1)
(0)
(0)
(0)
SETPAN{<q>} #<imm>
if InITBlock() then UNPREDICTABLE;
if !HavePANExt() then UNDEFINED;
value = imm1;
<q>
See Standard assembler syntax fields.
<imm>
Is the unsigned immediate 0 or 1, encoded in the "imm1" field.
EncodingSpecificOperations();
if PSTATE.EL != EL0 then
PSTATE.PAN = value;