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 which contains information about the state of the processor. Individual bits are implicitly or explicitly read and/or written by the machine code instructions executing on the processor. The status register in a traditional processor design includes at least three central flags: Zero, Carry, and Overflow, which are set or cleared automatically as side effects of arithmetic operations. They may then be tested via conditional branch or jump instructions. A status register may often have other fields as well, such as more specialized flags, interrupt enable bits, and similar types of information. During an interrupt, the status of the thread currently executing can be preserved (and later recalled) by storing the current value of the status register along with the program counter and other active registers into the machine stack or a reserved area of memory.

Read more about Status Register:  The Most Common Flags, Other Flags

Famous quotes containing the words status and/or register:

    “Knowing how beleaguered working mothers truly are—knowing because I am one of them—I am still amazed at how one need only say “I work” to be forgiven all expectation, to be assigned almost a handicapped status that no decent human being would burden further with demands. “I work” has become the universally accepted excuse, invoked as an all-purpose explanation for bowing out, not participating, letting others down, or otherwise behaving inexcusably.”
    —Melinda M. Marshall (20th century)

    “Genius ... is the capacity to see ten things where the ordinary man sees one, and where the man of talent sees two or three, plus the ability to register that multiple perception in the material of his art.”
    —Ezra Pound (1885–1972)