360 Assembly/360 Instructions/LPSW

< 360 Assembly < 360 Instructions

LPSW - ? - Opcode 82 - Privileged Instruction

Example usage

LPSW

Availability

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

Purpose of Instruction

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

Operation

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

Exceptions and Faults

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 · Other Instructions
Syntaxes and Assemblers 360 Assemblers· Pseudo Instructions
Instruction Extensions Floating Point · High-Level Languages
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.