AlData(子例程)
LD Always_On
+I #C, #D
-I #E, #D
*I #D, #F
/I #G, #F
MOVW #F, #H
CRET
LW0 C IN INT
LW2 D IN INT
LW4 E IN INT
LW6 F IN INT
LW8 G IN INT
LW10 H OUT INT
MAIN(主函数)
LD Always_On
MOVW 2, Cap
MOVW 2, Did
MOVW 3, Eei
MOVW 4, Fdl
MOVW 2, Gle
CALL AlData, Cap, Did, Eei, Fdl, Gle, Hpp
简单的C+D-E*F/G=H
结果应该是2,但是我执行结果是0,新手求解