• Could you explain this assembly line to me?
    Hi, I am learning ARM assembly code. The following is a Thumb disassembly from a short .c file: int main() {       printf("Hardware test, finish testing.\n");       return 0; } 00000000 <main>:    0:...
  • BCC vs BNE
    To detect negative numbers why do programming use BCC (check carry bit ) instead of BNE ( check N bit , which is obviously more straightforward ) ?
  • Present program counter address
    Good day, I want to refresh and (or) update my knowledge on ARMv7. Is it true for ARMv7-M that when CPU starts execute one instruction, PC value has already been updated/is being updated in parallel...
  • two’s complement
    How to load the two’s complement representation of -1 into Register 3 using one instruction? i am working on ARM7 and NXP processor.
  • Is SVC pendable on cortex-m?
    Hey. I read ARMv7-M Arch manual. SHCSR register have SVCALLPENDED bit. So that, It seem SVC is pendable. But, 'Priority escalation' is written, When the group priority of a pending synchronous...