Program status word

Program status word

In computers, the program status word (PSW) is an area of memory or a hardware register which contains information about program state used by the operating system and the underlying hardware. It will normally include a pointer (address) to the next instruction to be executed. The program status word typically contains an error status field and condition codes such as the interrupt enable/disable bit and a supervisor / user mode bit.

The program status word (PSW) is 32 bits in length and contains the information required for proper program execution. The PSW includes the instruction address, condition code, and other fields. In general, the PSW is used to control instruction sequencing and to hold and indicate the status of the system in relation to the program currently being executed. The active or controlling PSW is called the current PSW. By storing the current PSW during an interruption, the status of the CPU can be preserved for subsequent inspection. By loading a new PSW or part of a PSW, the state of the CPU can be initialized or changed.

"See also": Status register – a strictly hardware-based type of PSW


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • program status word — programos būsenos žodis statusas T sritis automatika atitikmenys: angl. program status word vok. Programmstatuswort, n; Programmzustandwort, n rus. слово состояния программы, n pranc. mot d état du programme, m …   Automatikos terminų žodynas

  • Status register — A status register or flag register (also: condition code register, program status word, PSW, etc.) is a collection of flag bits for a processor. An example is the FLAGS register of the x86 architecture. The status register is a hardware register… …   Wikipedia

  • status bar — UK / US noun [countable] Word forms status bar : singular status bar plural status bars computing a bar across the bottom of a computer screen giving information about a program and the job that it is doing …   English dictionary

  • Nuclear program of Iran — See also: Iran and weapons of mass destruction Nuclear program of Iran …   Wikipedia

  • Microsoft Word Viewer — Word Viewer Word Viewer Developer(s) Microsoft Corporation Stable release 2010 / June 15, 2010; 16 months ago ( …   Wikipedia

  • Hangul (word processor) — Infobox Software name = Hangul (Windows) caption = Hangul 2007 developer = Haansoft Corporation latest release version = Hangul 2007 latest release date = August 2006 operating system = Microsoft Windows genre = Word processor license =… …   Wikipedia

  • High-yield investment program — A High Yield Investment Program (HYIP) is a type of Ponzi Scheme, which is an investment scam. At one time, HYIP was used in the financial services sector to refer to an investment program which may have offered a high return on investment. The… …   Wikipedia

  • Minimalist program — Linguistics …   Wikipedia

  • Oversight of the Troubled Asset Relief Program — The Emergency Economic Stabilization Act created the Troubled Assets Relief Program to administer up to $700 billion. Several oversight mechanisms are established by the bill, including the Congressional Oversight Panel, the Special Inspector… …   Wikipedia

  • Political status of Taiwan — The controversy regarding the political status of Taiwan (or Taiwan Issue as referred to by the Communist Party of China) hinges on whether Taiwan, Penghu, Kinmen, and Matsu should remain effectively independent as territory of the Republic of… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”