Privileged Instructions - sjsoftware/centurion-cpu6 GitHub Wiki
Privileged Instructions
Privileged instructions can only be executed in Supervisor Mode. This is indicated by a map index from 0 to 3. If a privileged instruction is executed in User Mode, an abort trap occurs.
Of interest, 56 - EAO and 57 - DAO are not privileged instructions, although they will enable or disable an abort trap on buffer overflows on the Big Number instructions.
The list of privileged instructions is:
| Instruction byte | Opcode/Description |
|---|---|
| 00 | HLT |
| 04 | EI |
| 05 | DI |
| 0A | RI |
| 0E | DLY |
| 0F | RSV |
| 2E | Page Table |
| 2F | DMA |
| 76 | EPE |
| 86 | DPE |
| 96 | SOP |
| A6 | SEP |
| B6 | ECK |
| C6 | DCK |
| D7 | SAR |
| E6 | LAR |
| F6 | LIO/SIO |