Jump to content

Talk:Condition Code Register

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Senator2029 (talk | contribs) at 02:47, 22 June 2015 (Talk page of a redirect). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Comment

[edit]

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.

september 2 2002 blyan