360 Assembly/360 Instructions/LPSW

From Wikibooks, open books for an open world
Jump to: navigation, search

LPSW - ? - Opcode 82 - Privileged Instruction

Example usage[edit]

LPSW

Availability[edit]

The LPSW instruction is available on all models. It is a privileged instruction.

Purpose of Instruction[edit]

This instruction allows a privileged program to load the entire contents of the PSW from a location. The typical usage would be for an Operating System to set up the next task to run, or to return control to a problem program after completing processing of a Supervisor Call

Typical Usage[edit]

Operation[edit]

This is a privileged instruction, and is available on all models.

Exceptions and Faults[edit]

  • Privileged Operation
  • Invalid Opcode (370 and z/System)
Previous Instruction
LPR
360 Assembly Instructions Next Instruction
LPSWE
Previous Opcode
80
Next Opcode
83