Вс ноя 22, 2009 13:51:46
Ср ноя 25, 2009 06:55:14
reset: ldi Temp1,RamEnd ;set stack
out SPL,Temp1
cli
ldi temp1,0xff ;port init
out ddrb,temp1
ldi temp1,0b01111100
out ddrd,temp1
.
.
.
IndicDelay: ldi temp2,0xff
eor Temp1,Temp2
out PortB,Temp1
;********************************************
ldi temp1,0xff ;port init
out ddrb,temp1
;********************************************
.
.
.
SendAdd:
in Temp2,PortD
andi Temp2,0b11000011
or Temp2,Temp1
out PortD,Temp2
;********************************************
ldi temp1,0b01111100
out ddrd,temp1
;********************************************
ret
Ср ноя 25, 2009 10:35:06