|WikiProject Computing||(Rated Start-class)|
"Flags" v. "condition codes"
I think of flags as Condition Codes in a Condition Code register. Is this so infrequently used now as to not be worth mentioning here? I think I'd also mention "status bits".
Also, surely flags, condition codes, or status bits are not unique to microprocessors? --Mike Van Emmerik 01:45, 20 Jun 2005 (UTC)
- We should merge the CCR article with this one, and redirect the former here. SR and CCR are synonyms, AFAIK.
- You are right in that status flags as such are not unique to µPs; for the more general concept, we have the Flag word and Program status word articles. --Wernher 07:15, 1 April 2006 (UTC)
- Status registers are in now way the same as condition code registers. Usually on a status register the least significant eight bits are for the CCR whilst the other most significant bits represent the Interrupt handler. Part of the status register is the condition code register but it certainly isn't a synonym. --Mr A Pinder 12:32, 6 June 2006 (UTC)
- I think its safe to merge them into one page, but it's worth to note, that some processors have several flag/status register, which point to processor behavior, for example CR0 80386's register, which points to if protected mode is enabled, or paging is enabled, etc. --Black Phoenix 08:11, 11 June 2006 (UTC)
- I agree too. These are essentially three different articles for the same thing, only using different vendors' lingo. Unless we're documenting individual processor register formats, these articles should definitively be merged. toresbe 09:41, 8 July 2006 (UTC)
Comment: I'm thinking this article should be merged into the PSW article with the article's title changed to capital first letters. Thoughts/Concerns/Suggestions? JaakobouChalk Talk 22:27, 7 November 2008 (UTC)
Disagree - The term status register is used on machines that have separate condition codes, separate control registers, separate PSW's, separate flag registers or some combination. In particular, the term status normally encompasses more than the condition code and does not always include the condition code.
With regard to Mike Van Emmerik's question, condition codes and status registers predate PC's. See IBM System/360 architecture for an example. Note that in that case the CC is 2 bits long. Shmuel (Seymour J.) Metz Username:Chatul (talk) 16:33, 16 November 2010 (UTC)