The subject almost says it all.. Is it OK to have the following instructions in succession without any time passing between commands, regardless of clock speed? Is the value immediately available after a read strobe? Does changing the eeprom address register immediately following reading from the eeprom data register endanger the value just being read, or is register1 completely and correctly loaded? And is EEAR really set to register2 value .. for the next instruction executed after this is over.. ?
sbi EECR, EERE ; strobe the eeprom read
in register1, EEDR ; get the value
out EEAR, register2 ; move the eeprom address pointer
Wondering if tight code here is the wrong place to be tight.. thanks