POP ARn:ARm
6-268
POP ARn:ARm Pop Top of Stack to 16-bit Auxiliary Registers
SYNTAX OPTIONS OPCODE OBJMODE RPT CYC
POP AR1:AR0 0111 0110 0000 0111 X
− 1
POP AR3:AR2 0111 0110 0000 0101 X
− 1
POP AR5:AR4 0111 0110 0000 0110 X
− 1
Operands ARn:
ARm
AR1:AR0 or AR3:AR2 or AR5:AR4 auxiliary registers
Description AR1:AR0 or AR3:AR2 or AR5:AR4 Predecrement SP by 2. Load the
contents of two 16-bit auxiliary registers (ARn and ARm)with the value
pointed to by SP and SP+1.
POP AR1:AR0
SP −= 2;
AR0 = [SP];
AR1 = [SP+1];
AR1H:AR0H = unchanged;
POP AR3:AR2
SP −= 2;
AR2 = [SP];
AR3 = [SP+1];
AR3H:AR2H = unchanged;
POP AR5:AR4
SP −= 2;
AR4 = [SP];
AR5 = [SP+1];
AR5H:AR4H = unchanged;
Flags and
Modes
None
Repeat This instruction is not repeatable. If this instruction follows the RPT
instruction, it resets the repeat counter (RPTC) and executes only once.