SWTTHWVG: MOV DPTR,#0DFFFH DA0 MOV R6,#80H DA1: MOV A,R6 MOVX @DPTR,A INC R6 CJNE R6,0FFH,DA1 AJMP DA0