cancel
Showing results for 
Search instead for 
Did you mean: 

Instruction of STR : ARM or Thumb??

phanmaikienhung
Associate II
Posted on June 04, 2008 at 03:11

Instruction of STR : ARM or Thumb??

3 REPLIES 3
phanmaikienhung
Associate II
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.

kleshov
Associate II
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.

phanmaikienhung
Associate II
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.