OPN DB [MW 2000]
L L#0
T #t_dwdbindex
L #iElement_length //the number 100 to CYCLE option time ( array length )
T #t_wdbIndex // source array`s current index
T MW 100
next: T MW 100 //#t_wdbIndex //MW 100
L #iElement // MW 2
L DBW [MD 4] //DBW [MD 4]
==I
//
问题如下:
1. 上面代码段 , L DBW [MD 4] 如果 (MD4) 32位指针 换成 FC 块的 TEMP 变量, 是不是非法寻址。 也就是说 DBW [ 索引必须是 全局变量吗?] ?