176
4
4 Instructions4.5.2 Data Transfer
◆
Function
The data of index registers Z0–Z7 and V0–V7 is copied in batches to elements from head address [D]. The
number of batch storing times is incremented by 1 on every execution of the instruction.
Use the ZPOP instruction to read the data copied by the ZPUSH instruction. The two instructions are used
in pair.
The structure of data stored in batches from head address [D] is as follows:
[D+0] Number of batch storing times
[D+1] Z0
[D+2] V0
[D+3] Z1
[D+4] V1
[D+5] Z2
[D+6] V2
...
…
[D+15] Z7
[D+16] V7
[D+17] Z0
[D+18] Z1
...
…
[D+31] Z7
[D+32] V7
[D+33] Z0
[D+34] V0
...
…
An operation error occurs in the following conditions. The ZPUSH instruction is not executed. The error ag
M8067 is set to ON to identify this error and the error code is stored in D8067.
• Error 6705 is returned when the operand of the ZPUSH instruction is out of range.
• Error 6706 is returned when the number of batch storing times is less than 0.