05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Thumb Instruction Set Encoding<br />

A6.2.4 Load/store single data item<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

opA opB<br />

These instructions have one of the following values in opA:<br />

0b0101<br />

0b011x<br />

0b100x.<br />

Table A6-5 shows the allocation of encodings in this space.<br />

All these instructions are available since the Thumb instruction set was introduced in <strong>ARM</strong>v4T.<br />

opA opB Instruction See<br />

Table A6-5 16-bit Thumb Load/store instructions<br />

0101 000 Store Register STR (register) on page A8-386<br />

001 Store Register Halfword STRH (register) on page A8-412<br />

010 Store Register Byte STRB (register) on page A8-392<br />

011 Load Register Signed Byte LDRSB (register) on page A8-164<br />

100 Load Register LDR (register) on page A8-124<br />

101 Load Register Halfword LDRH (register) on page A8-156<br />

110 Load Register Byte LDRB (register) on page A8-132<br />

111 Load Register Signed Halfword LDRSH (register) on page A8-172<br />

0110 0xx Store Register STR (immediate, Thumb) on page A8-382<br />

1xx Load Register LDR (immediate, Thumb) on page A8-118<br />

0111 0xx Store Register Byte STRB (immediate, Thumb) on page A8-388<br />

1xx Load Register Byte LDRB (immediate, Thumb) on page A8-126<br />

1000 0xx Store Register Halfword STRH (immediate, Thumb) on page A8-408<br />

1xx Load Register Halfword LDRH (immediate, Thumb) on page A8-150<br />

1001 0xx Store Register SP relative STR (immediate, Thumb) on page A8-382<br />

1xx Load Register SP relative LDR (immediate, Thumb) on page A8-118<br />

A6-10 Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DDI 0406B

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

Saved successfully!

Ooh no, something went wrong!