Browse By Tags

  • ENTRY directive for assembly code

    Hi,

    I am trying to understand the startup code and assembly language (more for learning and not for a specific project) for ARM Cortex M4.

    I made a project in KEIL with just one assembly file and added a stack declaration and a vector table there. It was…

  • How to detect interrupt enabled flag in Cortex-M4 processor?

    Hello,

    I wanna know if global interrupts are enabled or not.

    In ARM compiler,__disable_irq() function returns 0 if interrupts were disabled or not, but on GCC based compiler, this function is declared as void.

    Which register should I take a look for bit…