ORG 0000H
MOV 20H, #0FFH
MOV 21H, #0FDH
MOV 22H, #0FBH
MOV 23H, #0F7H
MOV 24H, #0EFH
MOV 25H, #0DFH
MOV 26H, #0BFH
MOV 27H, #07FH
MOV 28H, #07FH
MOV 29H, #0BFH
MOV 2AH, #0DFH
MOV 2BH, #0EFH
MOV 2CH, #0F7H
MOV 2DH, #0FBH
MOV 2EH, #0FDH
MOV 2FH, #0FEH
ABB0:MOV R7,#10H
MOV R0,#20H
ABB1:MOV P2,@R0
MOV R1,#04H
AA2:MOV R2,#0FFH
AA3:MOV R3,#0FFH
AA4:DJNZ R3,AA4
DJNZ R2,AA3
DJNZ R1,AA2
INC R0
DJNZ R7,ABB1
LJMP ABB0
END

05-03 23:15