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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The <strong>Cortex</strong>-<strong>M0+</strong> Instruction SetRestrictionsTable 3-7 lists the legal combinations of register specifiers and immediate values that can beused with each instruction.Instruction Rd Rn Rm imm RestrictionsTable 3-7 ADC, ADD, RSB, SBC and SUB operand restrictionsADCS R0-R7 R0-R7 R0-R7 - Rd and Rn must specify the same register.ADD R0-R15 R0-R15 R0-PC - Rd and Rn must specify the same register.Rn and Rm must not both specify PC.R0-R7 SP or PC - 0-1020 Immediate value must be an integer multiple of four.SP SP - 0-508 Immediate value must be an integer multiple of four.ADDS R0-R7 R0-R7 - 0-7 -R0-R7 R0-R7 - 0-255 Rd and Rn must specify the same register.R0-R7 R0-R7 R0-R7 - -RSBS R0-R7 R0-R7 - - -SBCS R0-R7 R0-R7 R0-R7 - Rd and Rn must specify the same register.SUB SP SP - 0-508 Immediate value must be an integer multiple of four.SUBS R0-R7 R0-R7 - 0-7 -R0-R7 R0-R7 - 0-255 Rd and Rn must specify the same register.R0-R7 R0-R7 R0-R7 - -ARM DUI 0662A Copyright © 2012 ARM. All rights reserved. 3-21ID041812Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!