Status_register Status_register

Status register - Definition and Overview

Related Words: Account, Accountant, Act, Amanuensis, Annals, Annotation, Archives, Archivist, Arm, Armor

A status register is a collection of flag bits for a microprocessor that indicates the status of various mathematical operations. These flags are commonly used during conditional testing and program branching.

Different microprocessors have their own sets of status flags. Many times, these flags are unique to the microprocessor, due to specific device configurations, et cetera.

Common Status register flags:
Z = Zero flag. The result of a mathematical operation is zero
C = Carry flag. The result of an operation has produced an answer greater than the number of available bits.
       This flag may also be set before a mathematical operation to provide a "Borrow" bit
N = Negative flag. The result of a mathematical operation is negative
V = Overflow flag. A register or memory location has overflowed its number of available bits. (Similar to the carry flag)

I = Interrupt flag. Interrupts can be enabled/disabled by setting or clearing this flag.

Example Usage of register

Syrix0: To Sanrio, pls patrol the lines and ask if people have any questions about anything before they go up the to register, saves others time :P.
MhmTopher: The lady behind the register just said, "believe you me" lol, country people
buckyhermit: And a copy of the Orange County register.
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.