mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-15 14:27:29 +00:00
MOVE to SR requires supervisor privileges.
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user