喜歡這套資料就充值下載吧。。。資源目錄里展示的都可在線預覽哦。。。下載后都有,,請放心下載,,文件全都包含在內(nèi),,【有疑問咨詢QQ:1064457796 或 1304139763】
==============================================喜歡這套資料就充值下載吧。。。資源目錄里展示的都可在線預覽哦。。。下載后都有,,請放心下載,,文件全都包含在內(nèi),,【有疑問咨詢QQ:1064457796 或 1304139763】
==============================================
2222 C3 CLR C
2223 E54C MOV A, 4CH
2225 9550 SUBB A, 50H
2227 9220 MOV 20H, C 暫存錯位位
2229 2554 ADD A, 54H
222B F554 MOV 54H, A
222D 9221 MOV 21H, C
222F E548 MOV A, 48H
2231 A220 MOV C, 20H
2233 954F SUBB A, 4FH
2235 A221 MOV C, 21H 以上計算終點判別值
2237 3553 ADDC A, 53H (起點→終點總步數(shù))
2239 F553 MOV 53H, A
223B 7100 RP2: ACALL DL0 延時1.4ms
223D E549 MOV A, 49H
223F 20E743 JB ACC.7, RP6 F<0轉(zhuǎn)RP6
2242 3112 ACALL XMM 電機走一步—X
2244 C3 CLR C
2245 E54A MOV A, 4AH
2247 9552 SUBB A, 52H F—2X
2249 C5F0 XCH A, B 低位在A,高位在B
224B E549 MOV A, 49H
224D 9551 SUBB A, 51H
224F C5F0 XCH A, B
2251 C3 CLR C
2252 9552 SUBB A, 52H
2554 C5F0 XCH A, B
2256 9551 SUBB A, 51H
2258 C5F0 XCH A, B
225A 2401 ADD A, #01H
225C F54A MOV 4AH, A 完成F—2X+1→F
225E C5F0 XCH A, B
2260 3400 ADDC A, #00H
2262 F549 MOV 49H, A
2264 C3 CLR C
2265 E552 MOV A, 52H
2267 9401 SUBB A, #01H Xi—1→Xi
2269 F552 MOV 52H, A
226B E551 MOV A, 51H
226D 9400 SUBB A, #00H
226F F551 MOV 51H, A
2271 C3 RP4: CLR C
2272 E554 MOV A, 54H
2274 9401 SUBB A, #01H 終點判別值減1
2276 F554 MOV 54H, A
2278 E553 MOV A, 53H
227A 9400 SUBB A, #00H
227C F553 MOV 53H, A
227E 4554 ORL A, 54H
2280 70B9 JNZ RP2
2282 020000 LJMP 00H
2285 311A RP6: ACALL YMP Y電機向+Y走一步
2287 7E02 MOV R6, #02H
2289 E54A RP7: MOV A, 4AH
228B 2550 ADD A, 50H
228D F54A MOV 4AH, A
228F E549 MOV A, 49H
2291 354F ADDC A, 4FH
2293 F549 MOV 49H, A
2295 DEF2 DJNZ R6, RP7 F+2Yi+1→F
2297 E54A MOV A, 4AH
2299 2401 ADD A, #01H
229B F54A MOV 4AH, A
229D E549 MOV A, 49H
229F 3400 ADDC A, #00H
22A1 F549 MOV 49H, A
22A3 E550 MOV A, 50H
22A5 2401 ADD A, #01H
22A7 F550 MOV 50H, A
22A9 E54F MOV A, 4FH Yi+1→Yi
22AB 3400 ADDC A, #00H
22AD F54F MOV 4FH, A
22AF 4117 AJMP RP4