Process control instructions are the instructions which control the processor’s action by setting(1) or resetting(0) the values of flag registers.
Following is the table showing the list of process control instructions:
OPCODE | OPERAND | EXPLANATION | EXAMPLE |
---|
STC | none | sets carry flag to 1 | STC |
CLC | none | resets carry flag to 0 | CLC |
CMC | none | compliments the carry flag | CMC |
STD | none | sets directional flag to 1 | STD |
CLD | none | resets directional flag to 0 | CLD |
STI | none | sets the interrupt flag to 1 | STI |
CLI | none | resets the interrupt flag to 0 | CLI |