LJMP START
ORG 100H

START:

/*MOV R2, #0xff  
MOV A, #0x0
PETLA:


MOV P1, A
INC A

MOV R1, #0xdf
TAMTAM: MOV R0, #0xff
TUTU: DJNZ R0, TUTU
DJNZ R1, TAMTAM

MOV P1, #0xFF

MOV R1, #0xdf
TAMTAM1: MOV R0, #0xff
TUTU1: DJNZ R0, TUTU1
DJNZ R1, TAMTAM1

DJNZ R2, PETLA	 */
MOV R4, #0x03
PETLA_GLOBALNA:
MOV R3, #0xff
PETLA:
CPL P3.2
MOV R1, #0x15
TAMTAM:
 MOV R0, #0x0d

TUTU: DJNZ R0, TUTU
DJNZ R1, TAMTAM

CPL P3.2
MOV R1, #0x15
TAMTAM1: MOV R0, #0x0d
TUTU1: DJNZ R0, TUTU1
DJNZ R1, TAMTAM1

DJNZ R3, PETLA
			//---------------------

   MOV R3, #0xff
PETLA1:
CPL P3.2
MOV R1, #0x30
TAMTAM2:
 MOV R0, #0x0d

TUTU2: DJNZ R0, TUTU2
DJNZ R1, TAMTAM2

CPL P3.2
MOV R1, #0x30
TAMTAM3: MOV R0, #0x0d
TUTU3: DJNZ R0, TUTU3
DJNZ R1, TAMTAM3

DJNZ R3, PETLA1


		 //________________________
MOV R3, #0xff
PETLA2:
CPL P3.2
MOV R1, #0x22
TAMTAM4:
 MOV R0, #0x0d

TUTU4: DJNZ R0, TUTU4
DJNZ R1, TAMTAM4

CPL P3.2
MOV R1, #0x22
TAMTAM5: MOV R0, #0x0d
TUTU5: DJNZ R0, TUTU5
DJNZ R1, TAMTAM5

DJNZ R3, PETLA2

DJNZ R4, PETLA_GLOBALNA
NOP
NOP
NOP
JMP $
END START