This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ASM instruction error

Hi all,

Some of the arm instructions like STMIACS LDRBCS are reported as error by ARMGCC. What could be the reason ?

Parents
  • Yes ldm and stm are equivalent to ldmia and stmia.

    Sorry I need a memory overhaul. Try the gas directive

         .syntax unified

    at the beginning of your assembler file. This should upgrade gas to be much more compatible with ARM so one uses addseq and ldmcsfd instead of addeqs and ldmcsfd.

Reply
  • Yes ldm and stm are equivalent to ldmia and stmia.

    Sorry I need a memory overhaul. Try the gas directive

         .syntax unified

    at the beginning of your assembler file. This should upgrade gas to be much more compatible with ARM so one uses addseq and ldmcsfd instead of addeqs and ldmcsfd.

Children