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.

<strong>ARM</strong>v6 Differences<br />

SWP must be word-aligned, otherwise the instruction generates an abort. From<br />

<strong>ARM</strong>v6, use of the SWP instruction is deprecated.<br />

All multi-word load/store instructions must be word-aligned, otherwise the<br />

instruction generates an abort.<br />

Unaligned access support only applies to Normal memory. Unaligned accesses to<br />

Strongly-ordered or Device memory are UNPREDICTABLE.<br />

In both configurations, setting the SCTLR.A bit forces an abort on an unaligned access.<br />

Note<br />

In <strong>ARM</strong>v7, SCTLR.U is always set to 1. <strong>ARM</strong>v7 alignment support is the same as <strong>ARM</strong>v6K in this<br />

configuration.<br />

In common with <strong>ARM</strong>v7, all instruction fetches must be aligned.<br />

G.3.2 Endian support<br />

<strong>ARM</strong>v6 supports the same Big Endian (BE) <strong>and</strong> Little Endian (LE) support model as <strong>ARM</strong>v7, see Endian<br />

support on page A3-7. It is IMPLEMENTATION DEFINED if the legacy big endian model (BE-32) defined for<br />

<strong>ARM</strong>v4 <strong>and</strong> <strong>ARM</strong>v5 is also supported. For more information about BE-32 see Endian support on<br />

page AppxH-7.<br />

For configuration <strong>and</strong> control information, see Endian configuration <strong>and</strong> control on page AppxG-20.<br />

BE-32 DBGWCR Byte address select values<br />

Using the BE-32 endian model changes the meaning of the Byte address select values in DBGWCR[8:5],<br />

described in Watchpoint Control Registers (DBGWCR) on page C10-61. When using BE-32 endianness, use<br />

Table G-1 to interpret these values. Do not use Table C10-13 on page C10-65.<br />

Table G-1 Byte address select values, word-aligned address, <strong>ARM</strong>v6 BE-32 endianness<br />

DBGWCR[8:5] value Description<br />

0000 Watchpoint never hits<br />

xxx1 Watchpoint hits if byte at address DBGWVR:’11’ is accessed<br />

xx1x Watchpoint hits if byte at address DBGWVR:’10’ is accessed<br />

x1xx Watchpoint hits if byte at address DBGWVR:’01’ is accessed<br />

1xxx Watchpoint hits if byte at address DBGWVR:’00’ is accessed<br />

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

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

Saved successfully!

Ooh no, something went wrong!