<hardware>CPU hardware, the status register stores bits of information about the outcome of previous operations, e.g. zero, overflow. These status bits can be used to control conditional execution, e.g. "branch if zero". The same idea is common in other hardware, e.g. an input peripheral with a status bit to indicate end of file.
2. Under the Unix operating system, a process terminates with an exit status - an integer value where zero indicates successful or normal completion and non-zero values indicate different error conditions.
Last updated: 2018-09-01