Skip to main content
Visitor II
June 4, 2008
Question

Instruction of STR : ARM or Thumb??

  • June 4, 2008
  • 3 replies
  • 817 views
Posted on June 04, 2008 at 03:11

Instruction of STR : ARM or Thumb??

    This topic has been closed for replies.

    3 replies

    Visitor II
    June 2, 2008
    Posted on June 02, 2008 at 14:28

    Might anybody help me???

    I use STR710, ARM core.

    Development tool is IAR Embedded Workbench.

    ST's examples totally use ARM instruction.

    May I use Thumb instruction? Anyone has example of STR710 in instruction Thumb, please give me some example. Thanks so much.

    Visitor II
    June 2, 2008
    Posted on June 02, 2008 at 16:56

    The CPU in STR71x microntrollers is ARM7TDMI which supports the THUMB instruction set. The IAR development tools support code generation for ARM and THUMB instruction sets. You should consult documentation that comes with IAR tools to see how it's done.

    I have used ARM and THUMB code generated by IAR tools with an STR710 microcontroller without any problems.

    Visitor II
    June 4, 2008
    Posted on June 04, 2008 at 03:11

    Thanks Volius so much. I am looking for example of STR710 in THUMB instruction . I use the example of STR710 ( IAR supplies), but in ARM instruction.