求把这个c语言转换成汇编语言
求把这个c语言转换成汇编语言
日期:2022-01-01 13:35:16 人气:1
;用如下程序,替换楼主的C程序,效果相同:
ORG 0000H
SJMP START
ORG 000BH
DJNZ R2, T0_EXIT
MOV R2, #35
XRL P0, A
DJNZ R3, T0_EXIT
MOV R3, #10
DJNZ R4, T0_EXIT
MOV R4, #3
ORG 0000H
SJMP START
ORG 000BH
DJNZ R2, T0_EXIT
MOV R2, #35
XRL P0, A
DJNZ R3, T0_EXIT
MOV R3, #10
DJNZ R4, T0_EXIT
MOV R4, #3