7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
767
7
■ZPOP
• Recovers the contents saved in the area starting from the device designated by (D) to the index register. (When the saved
content is read out to the index register, (D)+0 (the number of saves made) is decreased by 1.)
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
• When using a High Performance model QCPU/Process CPU/Redundant CPU
• When using Universal model QCPU/LCPU
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The operation result of (D)+0 (the number of saves made) is 0 in the
ZPOP(P) instruction.
4101 For the ZPUSH(P) instruction, the range of the device specified by (D),
exceeds the range of the corresponding device.
Z0
Z1
Z15
Z0
+1
+2
+16
+17
+18
+19
+20 Z1
(D)+0
·
·
Number of saves
Reserved by the
system (2 words)
1st nesting
(18 words for the 1st nesting)
2nd nesting
Z0
Z1
Z19
Z0
+1
+2
+20
+21
+22
Z1
(D)+0
·
·
Number of saves
1st nesting
(20 words for the 1st nesting)
2nd nesting