• Alignment in ARM?

    Natesh Raina
    Natesh Raina

    I could not clearly understand the alignment issues present in ARM. Sometimes I get BUS ERROR while running an assembly file but don't know how to resolve it. Some of the doubts:

    1. Is it better to store registers pairwise or individually on the stack…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • How long bitfields on which ARM?

    Øyvind Teig
    Øyvind Teig

    I need to be able to handle long bitfields as effectively as possible. Right now I need up to 64 bits in length.

    Are there instructions to set, clear and test individual bits in one cycle available for some of the architectures? Which? Particularly, will…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Cortex-M0: What's included in the binary?

    wshen
    wshen

    Hi,

    I have two M0 projects.  The first project has only one assembly file startup.s.  The second project has one assembly file and one C file.  When I checked the memory map file of the second project (shown below), there are some extra object codes included…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Indication to begin a program

    amrani joutei
    amrani joutei

    I need some indications to begin writing a program.

    Write a compare routine to compare 64-bits values , using only two instructions.

    Thanks for your indications !

    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum
  • Cortex-m0 instructions and core registers immediete values

    EI24
    EI24

    Hi, i have just got a cortex-m0(LPC1114) based dev board. I'm reading about the architecture and instructions. My understanding is that it supports most thumb 16-bit instructions and a handful thumb-2 32-bit instructions. If the processor has a 32-bit…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-M / M-Profile forum