Load Program Status Word instruction
This article may have been previously nominated for deletion: Wikipedia:Articles for deletion/Load Program Status Word instruction exists. It is proposed that this article be deleted because of the following concern: If you can address this concern by improving, copyediting, sourcing, renaming, or merging the page, please edit this page and do so. You may remove this message if you improve the article or otherwise object to deletion for any reason. Although not required, you are encouraged to explain why you object to the deletion, either in your edit summary or on the talk page. If this template is removed, do not replace it. This message has remained in place for seven days, so the article may be deleted without further notice. Find sources: "Load Program Status Word instruction" – news · newspapers · books · scholar · JSTOR Nominator: Please consider notifying the author/project: {{subst:proposed deletion notify|Load Program Status Word instruction|concern=[[WP:NOTESSAY|Non-notable essay]].}} ~~~~ Timestamp: 20110604032841 03:28, 4 June 2011 (UTC) Administrators: delete |
In the System/360 line of IBM mainframe computers up to contemporary zSeries, the Load Program Status Word instruction (LPSW) is a privileged instruction used to restore the program status, including the mode and key, and the next sequential instruction address after the interruption. The interruption could be any of a set of interruptions (SVC, I/O, timer/external, etcetera). LPSW could be considered the complement of any interruption, in general, and an SVC interruption, in particular.
In those cases where the SVC is Type 1 (or, in MVS, Type 6), the return is expected to be immediate, and the LPSW is generally done from the SVCOPSW (Supervisor Call Old PSW, a specific location in main storage which is defined by the architecture).
In those cases where the SVC is Types 2, 3 or 4, the return is expected to be delayed, and the LPSW is generally done from the PSW which was temporarily stored in the PRB (i.e., moved to the PRB from the SVCOPSW).
In MVS/370 and later instances of the OS, a mechanism exists for preempting parts of these processes, for purposes of efficiency and system integrity, but the actual return to the interrupted program is processed logically as is herein described.