mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-18 16:30:29 +00:00
MOVE to SR requires supervisor privileges.
This commit is contained in:
parent
6594b38567
commit
5b67c9bf4a
@ -116,6 +116,7 @@ constexpr bool requires_supervisor(Operation op) {
|
|||||||
case Operation::EORItoSR: case Operation::RTE:
|
case Operation::EORItoSR: case Operation::RTE:
|
||||||
case Operation::RESET: case Operation::STOP:
|
case Operation::RESET: case Operation::STOP:
|
||||||
case Operation::MOVEtoUSP: case Operation::MOVEfromUSP:
|
case Operation::MOVEtoUSP: case Operation::MOVEfromUSP:
|
||||||
|
case Operation::MOVEtoSR:
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user