ORG 0000H
JMP MAIN
ORG 30H
MAIN: MOV SCON,#80H
MOV R0,#30H
MOV R7,#11H
LOOP2: MOV A,@R0
MOV C,P
MOV TB8,C
MOV SBUF,A
INC R0
LOOP1: JBC TI,LOOP
SJMP LOOP1
LOOP: DJNZ R7,LOOP2
JMP $
JMP MAIN
ORG 30H
MAIN: MOV SCON,#80H
MOV R0,#30H
MOV R7,#11H
LOOP2: MOV A,@R0
MOV C,P
MOV TB8,C
MOV SBUF,A
INC R0
LOOP1: JBC TI,LOOP
SJMP LOOP1
LOOP: DJNZ R7,LOOP2
JMP $