Jump to content

Talk:Status register

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

"Flags" v. "condition codes"

[edit]

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)[reply]
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)[reply]
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)[reply]
I think this should be a multimerge, also including Program status word. For example the PSW of the Intel 8080 carries four flags: S, Z, P, and C. (S stands for the sign flag, and is set for positive numbers; the opposite of the N flag listed on this article). -- Dmeranda 06:16, 24 June 2006 (UTC)[reply]
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)[reply]
Perhaps having a single article with a vendor-neutral title would suffice, e.g., something like CPU status register. All of the other vendor-specific terms could then be simple redirects to this article. — Loadmaster (talk) 18:06, 16 November 2010 (UTC)[reply]

JUST DO IT! —Preceding unsigned comment added by 82.41.161.156 (talk) 14:21, 17 August 2008 (UTC)[reply]

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)[reply]

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)[reply]