Delta DVP-ES2 — 2.15 Nest Level Pointer[N], Pointer[P], Interrupt Pointer [I]

2. Programming Concepts The combinations of E and F when designating a 32-bit register are: (E0, F0) , (E1, F1) (E2, F2) (E3, F3) (E4, F4) , (E5, F5) (E6, F6) (E7, F7) Example: When X0 = ON and E0 = 8, F0 = 14, D5E0 = D(5+8) = D13, D10F0 = D(10+14) = D24, the content in D13 will be moved to D24. X0 2.15 Nest Level Pointer[N], Pointer[P], Interrupt Pointer [I] Nest Level Pointer N: used with instruction MC and MCR. MC is master start instruction. When the MC instruction is executed, the instructions between MC and MCR will be executed normally. MC-MCR master control instruction is nested level structure and max. 8 levels can be applicable, which is numbered from N0 to N7. Pointer P:

used with application instructions CJ, CALL, and SRET. CJ condition jump: When X0 = ON, program will jump from address 0 to N (designated label P1) and keep on the execution. Instructions between 0 and N will be ignored. When X0 = OFF, program will execute from 0 and keep on executing the followings.

CJ instruction 2-43 0 MOV K8 E0 MOV K14 F0 MOV D5E0 D10F0 N Master control nested N0~N7, 8 points The control point of master control nested Pointer P For CJ, CALL instructions P0~P255, 256 points The location point of CJ, CALL I For interrupt External interrupt I000/I001(X0), I100/I101(X1), I200/I201(X2), I300/I301(X3), I400/I401(X4), I500/I501(X5), I600/I601(X6), I700/I701(X7), 8 points (01, rising-edge trigger , 00, falling-edge trigger ) The location point of interrupt subroutine.

Timer interrupt I602/I699, I702/I799, 2 points (Timer resolution=1 ms), I805/I899, 1 point (Timer resolution=0.1 ms) (available for SE/ES2-E, for other series, firmware version should be V2.00 or later) Pointer High-speed counter interrupt I010, I020, I030, I040, I050, I060, I070, I080, 8 points Communication interrupt I140(COM1: RS232), I150(COM2: RS-485), I160(COM3: RS-485), 3 points