发表于:2004/9/16 11:22:00
#0楼
我想用循环语句实现三个数的求和,怎么也调不对,不知道错在哪里,请帮我看一下,谢谢
NETWORK1
LD SM0.0
MOVW +1,VW0
MOVW +1,VW4
MOVW +1,VW4
EU
MOVD &VB0,VD50
NETWORK2
LD I0.0
FOR VW100,1,3
+I *VD50,AC1
+D +2,VD50
MOVW AC1,VW200
NETWOERK3
NEXT
NETWORK1
LD SM0.0
MOVW +1,VW0
MOVW +1,VW4
MOVW +1,VW4
EU
MOVD &VB0,VD50
NETWORK2
LD I0.0
FOR VW100,1,3
+I *VD50,AC1
+D +2,VD50
MOVW AC1,VW200
NETWOERK3
NEXT