eeprom_ena: sbic EECR,1 ; skip if EEPROM write enable cleared rjmp eeprom_ena out EEAR,ZL ; ZL gets EEPROM read/write access adiw ZL,0x01 ; next address ret ; label_25: ldi r25,0x01 rjmp eeprom_read ldi r25,0x02 ret ; eeprom_read: rcall eeprom_ena sbi EECR,0 ; set EEPROM read ena EERE in temp,EEDR ; copy EEPROM data to temp st X+,temp ; store temp to dseg dec r25 brne eeprom_read ret ; ;EEPROM_: BLD YL,0 ; Bit load from T to register IN R10,0x04 ; In from I/O location ST Y+,R9 ; Store indirect and postincrement BLD R8,2 ; Bit load from T to register LDS R8,0x8EFF ; Load direct from data space RJMP PC+0x0789 ; Relative jump RJMP PC-0x0179 ; Relative jump STD Z+51,XL ; Store indirect with displacement ;....