用 80C51 单片机汇编语言程序设计

2024-11-21 17:46:17
推荐回答(2个)
回答1:

1.
MOV A,45H
ANL A,#0FH
ORL A,#0FH
MOV 45H,A
2.
MOV DPTR,#2000H
MOVX A,@DPTR
MOV 20H,A

回答2:

1.
MOV 45H,#0FH

2.
MOV DPTR,#2000H
CLR A
MOVC A,@A+DPTR
MOV 20H,A