Jump to content

Talk:Condition Code Register

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by T-rex (talk | contribs) at 23:16, 28 September 2006 (oppose merge). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In the Motorola M68HC11 microcontroller's condition code registers, there are 8 bytes,one each for S, X, H, I, N, Z, V, and C.

The H bit represents a carry from bit 3 during an addition operation. The N bit represents the state of the most significant bit (aka MSB)of a result. The Z bit is the set when all bits of the result are zeros. The V bit indicates if a 2's complement overflow has occurred from an operation. The C bit indicates if a carry from an addition or borrow has occurred from a subtraction.

Merge?

It seems wasteful to have articles on condition code registers, status register, and flag byte. Should at least this one be merged with status register, or merge all three? --Mike Van Emmerik 02:28, 1 March 2006 (UTC)[reply]

This is not always known as the status register - the status register sometimes includes the information in the condition code register (CCR), but it is possible for the CCR to be separate from the status register. So no I don't think they should be merged.
On the other hand, as this group seems to consist of small articles, perhaps they should all be merged under "Registers" (or something similar), and each have their own sub-heading. --Pyrofysh 13:35, 6 June 2006 (UTC)[reply]
I'm opposing this as these are two very distinct things on many chip sets... --T-rex 23:16, 28 September 2006 (UTC)[reply]