Last modified on 3 September 2012, at 15:25

360 Assembly/360 Instructions/LPSW

LPSW - ? - Opcode 82 - Privileged Instruction

Example usageEdit

LPSW

AvailabilityEdit

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

Purpose of InstructionEdit

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 UsageEdit

OperationEdit

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

Exceptions and FaultsEdit

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