спасибо за советы, но еепром всёравно не работает. не фурычит даже такая прога .include "8515def.inc"
.CSEG
.org 0
rjmp RESET
.org 13
RESET:
ldi r16,$18
out WDTCR,r16
ldi r16,$10
out WDTCR,r16
ldi r16,HIGH(RAMEND)
out SPH,r16
ldi r16,LOW(RAMEND)
out SPL,r16
ldi r16,$ff
out PORTC,r16
ldi r16,$ff
out DDRC,r16
met2: ldi r16,$10
rcall eerea
out PORTC,r17
rcall d05s
inc r16
rcall eerea
out PORTC,r17
rcall d05s
inc r16
rcall eerea
out PORTC,r17
rcall d05s
inc r16
rcall eerea
out PORTC,r17
rcall d05s
inc r16
rcall eerea
out PORTC,r17
rcall d05s
inc r16
rcall eerea
out PORTC,r17
rcall d05s
inc r16
rcall eerea
out PORTC,r17
rcall d05s
inc r16
rcall eerea
out PORTC,r17
rcall d05s
rjmp met2
eerea:
ldi r17,$0
out EEARL,r16
cbi EEARH,0
sbi EECR,EERE
in r17,EEDR
ret
d05s: ;rjmp dend
ldi r20,$ff
d4ms: ldi r21,$a
wd2: ldi r22,$ff
wdl: dec r20
brne wdl
dec r21
brne wd2
dec r22
brne d4ms
dend: ret
.ESEG
.org $0
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18
.DB $81, $42, $24, $18, $81, $42, $24, $18