Мда !!! Вот это пиз####л.
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено Kuka 16 июня 2004 г. 16:04
В ответ на: reti отличается от ret тем что автоматом возращает перед выходом из прерывания psw(слово состояния) из стека отправлено Elektronik 16 июня 2004 г. 15:45

Description: RETI pops the high- and low-order bytes of the PC successively from the stack, and restores the interrupt
logic to accept additional interrupts at the same priority level as the one just processed. The Stack Pointer
is left decremented by two. No other registers are affected; the PSW is not automatically restored to its
pre-interrupt status. Program execution continues at the resulting address, which is generally the
instruction immediately after the point at which the interrupt request was detected. If a lower- or
same-level interrupt has been pending when the RETI instruction is executed, that one instruction will be
executed before the pending interrupt is processed.

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru