Sie sind auf Seite 1von 1

$mod51 org 0 mov a,#0 back:mov p1,a acall delay mov p1,#01h acall delay mov p1,#02h acall

delay mov p1,#04h acall delay mov p1,#08h acall delay mov p1,#10h acall delay mov p1,#20h acall delay mov p1,#40h acall delay mov p1,#80h acall delay sjmp back delay: mov r6,#255 here1:mov r5,#255 here2:mov r4,#255 here3:djnz r4,here3 djnz r5,here2 djnz r6,here1 ret end

Das könnte Ihnen auch gefallen