Condition Code Register
Appearance
![]() |
The Condition Code register, or 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 various other names: status register, flag byte, flags, program status word (PSW), status word, control and status register (CSR), and more.