CX - CC, CNC, CP, CM, CZ, CNZ, CPE, CPO
Opcode | Operand | Description |
Cx | 16-bit address | Call conditionally |
— The program sequence is transferred to the memory location specified by the 16-bit address given in the operand based on the specified flag of the PSW.
— Before the transfer, the address of the next instruction after the call (the contents of the program counter) is pushed onto the stack.
— Example: CZ 2034 H.
Opcode | Description | Status Flags |
CC | Call if Carry | CY = 1 |
CNC | Call if No Carry | CY = 0 |
CP | Call if Positive | S = 0 |
CM | Call if Minus | S = 1 |
CZ | Call if Zero | Z = 1 |
CNZ | Call if No Zero | Z = 0 |
CPE | Call if Parity Even | P = 1 |
CPO | Call if Parity Odd | P = 0 |
Comments
Post a Comment