;VIET CT CON DELAY1S AV DUNG CT CON NAY DE CHOP TAT LED GAN VAO P1.0 SAU MOI KHOANG 1S ;TIME DELAY = 10^6 US = x M x N x K = x 10 x 200 x 250 ORG 2000H MAIN: CPL P1.0 ACALL DELAY1S SJMP MAIN DELAY1S: MOV R7,#10 L1: MOV R6,#200 L2: MOV R5,#250 DJNZ R5,$ DJNZ R6,L2 DJNZ R7,L1 RET END