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 180.191.233.242 (talk) at 10:05, 20 February 2014 (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.

september 2 2002 blyan