You are on page 1of 1

$MOD51 ; This includes 8051 definitions for the metalink assembler ORG MULAI: MOV ACALL MOV ACALL

SJMP DELAY: MOV DELAY1: MOV DELAY2: MOV DJNZ DJNZ DJNZ RET END 0H P0,#00001111B DELAY P0,#11110000B DELAY MULAI R0,#100;5H R1,#10h;0FFH R2,#10h;0 R2,$ R1,DELAY2 R0,DELAY1 ; ; ; ; ; ; ; ; ; ; ; ; ;

You might also like