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 164.107.166.230 (talk) at 14:17, 25 January 2006. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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.