Condition Code Register
Appearance
![]() | It has been suggested that this article be merged into Status register. (Discuss) Proposed since April 2006. |
A Condition Code register (CCR) is a register in a computer which has its bits set or reset when certain conditions are met. For example, when adding 2 eight-bit numbers, and storing into an eight-bit register, a carry might occur, in which case the carry bit in the CCR would be set. This can be used later with an instruction like 'branch if carry set' (BCS).
It is also known by the names status register (SR) and Control and Status Register (CSR).
See also: Flag word, Program status word (PSW)