Ответ от атмеля :
The ATmega1280 or devices with less flash memory does not have the EIJMP instruction, which means that you do not need to store this value for these devices. This is shown in the notes in datasheet on page 423. However to be 100% compatible with the ATmega2560/2561 and devices with bigger flash memories you do need to store this register on the stack for these devices. This is because a ISR might interrupt between writing the address to Z and EIND registers and performing the actual jump. I do not know which current compilers use this instruction, but to be able to utilize the memory completely they will need to do so. So to be compatible I would save the EIND register, even if that gives you a higher memory footprint for your RTOS for these devices.
Спасибо за внимание
--------------------
Зачем лаять на караван , когда на него можно плюнуть?
|