POPR

VAX11

 

POPR     POP REGISTERS

 

Purpose

restore multiple registers from stack

Format

opcode mask.rw

Operation

 

Condition codes

N ß N;

Z ß Z;

V ß V;

C ß C;

Exceptions

None

Opcodes

BA       POPR                          Pop Registers

Description

The contents of registers whose number corresponds to set bits in the mask operand are replaced by longwords popped from the stack. R[n] is replaced if mask <n> is set. The mask is scanned from bit 0 to bit 14. Bit 15 is ignored.

Notes

This instruction is similar to the sequence

MOVL (SP)+,RO

MOVL (SP)+,R1

MOVL (SP)+,R14

where only the masked registers are popped.