RX - RC, RNC, RP, RM, RZ, RNZ, RPE, RPO
Opcode | Operand | Description |
Rx | None | Call conditionally |
— The program sequence is transferred from the subroutine to the calling program based on the specified flag of the PSW.
— The two bytes from the top of the stack are copied into the program counter, and program execution begins at the new address.
— Example: RZ.
Opcode | Description | Status Flags |
RC | Return if Carry | CY = 1 |
RNC | Return if No Carry | CY = 0 |
RP | Return if Positive | S = 0 |
RM | Return if Minus | S = 1 |
RZ | Return if Zero | Z = 1 |
RNZ | Return if No Zero | Z = 0 |
RPE | Return if Parity Even | P = 1 |
RPO | Return if Parity Odd | P = 0 |
Comments
Post a Comment