top | item 10042565

(no title)

leicmi | 10 years ago

For ARM thumb2 style you need a third instruction between the two:

  IT EQ
The 'IT' is for 'if then'. There could also be more 'then's and 'else's for the conditional execution of muliple instructions:

  ITTE LT
(If then then else) The following instructions could for example be:

  ADDEQ ...
  STREQ ...
  BNE ... (Branch - not equal because of the else)

Source: http://community.arm.com/groups/processors/blog/2010/09/30/c...

discuss

order

No comments yet.