Mitsubishi — 5.4 Index Register V, Z

5 Categories and Use of Basic Application Instructions affected by the execution result of floating point itnstructions: z Zero flag: M1968 = ON if the operational result is “0”. z Borrow flag: M1970 = ON if the operational result exceeds the minimum unit. z Carry flag: M1969 = ON if the absolute value of the operational result exceeds the range of use. 5.4 Index Register V, Z The index registers are 16-bit registers. V is 16-bit register, and Z is 32-bit register. There are 16 devices for DVP-PM (V0 ~ V7 and Z0 ~ Z7). 16 bits V0~V7 32 bits V is 16-bit register, which can be read and written. If you need a 32-bit register, you have to designate Z.

Z0~Z7 High byte Low byte Devices modifiable in DVP-PM: P, I, X, Y, M, S, KnX, KnY, KnM, KnS, T, C, D. V and Z can modify the devices listed above but cannot modify themselves and Kn, e.g. K4M0@Z0 is valid and K0@Z0M0 is invalid. In addition, V and Z cannot modify constant K and H, e.g. K4@Z0 is invalid. Grey columns in the table of operand at the beginning page of each application instruction indicate the operands modifiable by V and Z. When you use instruction mode in PMSoft to modify constant K and H, you have to use @, for example, “MOV K10@Z0 D0V0”. DVP-PM Operation Instruction 5-10