Jump to content

Talk:Condition Code Register

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Comment

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