ARMRefCard_Local - Operation Move Arithmetic Assembler...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Operation Assembler Action Move MOV{S} Rd, <Oprnd2> Rd := Oprnd2 {CPSR} MVN{S} Rd, <Oprnd2> Rd := NOT Oprnd2 {CPSR} Arithmetic ADD{S} Rd, Rn, <Oprnd2> Rd := Rn + Oprnd2 {CPSR} ADC{S} Rd, Rn, <Oprnd2> Rd := Rn + Oprnd2 + Carry {CPSR} SUB{S} Rd, Rn, <Oprnd2> Rd := Rn Oprnd2 {CPSR} SBC{S} Rd, Rn, <Oprnd2> Rd := Rn Oprnd2 Carry {CPSR} RSB{S} Rd, Rn, <Oprnd2> Rd := Oprnd2 Rn {CPSR} RSC{S} Rd, Rn, <Oprnd2> Rd := Oprnd2 Rn NOT Carry {CPSR} MUL{S} Rd, Rm, Rs Rd := Rm * Rs {CPSR} MLA{S} Rd, Rm, Rs, Rn Rd := Rm * Rs + Rn {CPSR} CLZ Rd, Rm Rd := # leading zeros in Rm Logical AND{S} Rd, Rn, <Oprnd2> Rd := Rn AND Oprnd2 {CPSR} EOR{S} Rd, Rn, <Oprnd2> Rd := Rn EXOR Oprnd2 {CPSR} ORR{S} Rd, Rn, <Oprnd2> Rd := Rn OR Oprnd2 {CPSR} TST Rn, <Oprnd2> Update CPSR based on Rn AND Oprnd2 TEQ Rn, <Oprnd2> Update CPSR based on Rn EOR Oprnd2 BIC{S} Rd, Rn, <Oprnd2> Rd := Rn AND NOT Oprnd2 {CPSR} No Op NOP R0 := R0 Compare CMP Rd, <Oprnd2> Update CPSR based on Rn Oprnd2 CMN Rd, <Oprnd2> Update CPSR based on Rn + Oprnd2 Branch B{cond} label R15 := label
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

ARMRefCard_Local - Operation Move Arithmetic Assembler...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online