HALT Instruction

Purpose:To stop the processor
Format:opcode
Operation:
if PSL<CMD> NEQU kernel then
{Reserved or Priviledged Opcode Fault};
else
{Halt the processor};
Condition
Codes:
Reserved or Priviledged Fault
N <- 0;
Z <- 0;
V <- 0;
C <- 0;
CMD EQU Kernel
N <- N;
Z <- Z;
V <- V;
C <- C;
Exceptions:Reserved or Priviledged Opcode Fault
Opcodes:
00HALTHalt
Description: If the processor is running in kernel mode, the processor is halted. Otherwise, a Reserved or Priviledged opcode fault occurs.
Notes:
1.
The opcode is 0 to trap many branches to data.
2.
MacVAX will halt from any CMD if an OS is not registered. This is intended to provide a simpler environment for introductory courses.