Thumb Instruction Reference

Examples

LDMIA

r3!, {r0,r4}

LDMIA

r5!, {r0-r7}

STMIA

r0!,

{r6,r7}

STMIA

r3!,

{r3,r5,r7}

Incorrect examples

LDMIA

r3!,{r0,r9}

;

high

registers not allowed

STMIA

r5!, {}

;

must

be at least one register

 

 

;

in list

STMIA

r5!,{r1-r6} ;

value stored from r5 is unpredictable

5-14

Copyright © 2000, 2001 ARM Limited. All rights reserved.

ARM DUI 0068B

Page 208
Image 208
ARM VERSION 1.2 manual R3!, r0,r4