• What happens to the Instructions already in pipeline when interrupt occurs ?

    Vijay Kumar Prathipati
    Vijay Kumar Prathipati

    Hello Community,

    Recently I was going through some code and has this doubt.

    My Pseudocode

    ============

    CPSID I - Disable interrupts

    Do critical work

    CPSIE I - Enable interrupts

    Do non critical work.

    After I enabled interrupts and if there is pending interrupt…

    • Answered
    • 4 months ago
    • Processors
    • Cortex-M / M-Profile forum