Jump to content

360 Assembly/360 Instructions/LPSW

From Wikibooks, open books for an open world

LPSW - ? - Opcode 82 - Privileged Instruction

Example usage

[edit | edit source]
LPSW

Availability

[edit | edit source]

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

Purpose of Instruction

[edit | edit source]

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 | edit source]

Operation

[edit | edit source]

This is a privileged instruction, and is available on the 360 only. LPSWE is used on 370 and z/System.

Exceptions and Faults

[edit | edit source]
  • Privileged Operation
  • Invalid Opcode (370 and z/System)
Previous Instruction
LPR
360 Assembly Instructions   Next Instruction
LPSWE
Previous Opcode
80
Next Opcode
83
360 Assembly Language
360 Family Introduction · Basic FAQ · 360 Family · 360 Architecture
360 Instruction Set 360 Instructions · Branch Instructions · Data Transfer Instructions · Control Flow Instructions · Arithmetic Instructions · Logic Instructions · Shift and Rotate Instructions · Priveleged Instructions · Other Instructions
Syntaxes and Assemblers 360 Assemblers· Pseudo Instructions
Instruction Extensions Floating Point · High-Level Languages