13.07.2015 Views

Cortex-M0+ Devices Generic User Guide - Keil

Cortex-M0+ Devices Generic User Guide - Keil

Cortex-M0+ Devices Generic User Guide - Keil

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The <strong>Cortex</strong>-<strong>M0+</strong> Instruction SetCondition flagsThese instructions do not change the flags.ExamplesB loopA ; Branch to loopABL funC ; Branch with link (Call) to function funC, return address; stored in LRBX LR ; Return from function callBLX R0 ; Branch with link and exchange (Call) to a address stored; in R0BEQ labelD ; Conditionally branch to labelD if last flag setting; instruction set the Z flag, else do not branch.ARM DUI 0662A Copyright © 2012 ARM. All rights reserved. 3-35ID041812Non-Confidential

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!