DBCDM: MOV R2,#2 ADD A,R0 MOV R0,A MOV R3,#0 LOOP: DEC R0 MOV A,@R0 SWAP A MOV @R0,A MOV A,R3 XCHD A,@R0 MOV R3,A DJNZ R2,LOOP RET