ORG 0000H
SJMP START
ORG 0030H
MOV DPTR,#2000H
MOV R0,#00H
XX: MOVX @DPTR,A
INC DPTR
DJNZ R0,XX
SJMP $
END