Privileged Instructions and Execution Modes

A privileged instruction is an instruction that can only be executed in a privileged execution mode. In CREATOR, we define two execution modes: user (non-privileged) and kernel (privileged).

An instruction is defined as privileged if it has the privileged property.

The current execution mode is tracked in the status.execution_mode variable, which is part of the enum ExecutionMode, which can hold two values: ExecutionMode.User and ExecutionMode.Kernel.

This variable is initialized to ExecutionMode.User.

results matching ""

    No results matching ""