发表于:2004/12/4 10:09:00
#0楼
现有如下指令:
network1
L #DP_Address // Ladda DP-buss address
SLW 3
LAR1
network2:
OPN #M_DB
L IB [AR1,P#0.0] //Data from drive: Status Word 1
T DIB 36
T DBB 0
L IB [AR1,P#1.0]
T DIB 37
T DBB 1
L IB [AR1,P#2.0] //Data from drive: Status Word 2
T DIB 38
T DBB 2
L IB [AR1,P#3.0]
T DIB 39
T DBB 3
请问: 若#DP_Address=10, 且#M_DB=32 , 那么在执行已上程序后,DB32.DBX2.3中装的是那个数据位?为什么?
network1
L #DP_Address // Ladda DP-buss address
SLW 3
LAR1
network2:
OPN #M_DB
L IB [AR1,P#0.0] //Data from drive: Status Word 1
T DIB 36
T DBB 0
L IB [AR1,P#1.0]
T DIB 37
T DBB 1
L IB [AR1,P#2.0] //Data from drive: Status Word 2
T DIB 38
T DBB 2
L IB [AR1,P#3.0]
T DIB 39
T DBB 3
请问: 若#DP_Address=10, 且#M_DB=32 , 那么在执行已上程序后,DB32.DBX2.3中装的是那个数据位?为什么?