Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
CS 220 / ARM / ARM1176JZ-S Technical Reference Mmanual.pdf
Источник:
Скачиваний:
143
Добавлен:
16.04.2015
Размер:
4.47 Mб
Скачать

Programmer’s Model

2.4Instruction length

Instructions are one of:

32 bits long, in ARM state

16 bits long, in Thumb state

variable length, multiples of 8 bits, in Jazelle state.

ARM DDI 0333H

Copyright © 2004-2009 ARM Limited. All rights reserved.

2-13

ID012410

Non-Confidential, Unrestricted Access

 

Programmer’s Model

2.5Data types

The processor supports the following data types:

word, 32-bit

halfword, 16-bit

byte, 8-bit.

Note

When any of these types are described as unsigned, the N-bit data value represents a non-negative integer in the range 0 to +2N-1, using normal binary format.

When any of these types are described as signed, the N-bit data value represents an integer in the range -2N-1 to +2N-1-1, using two’s complement format.

For best performance you must align these as follows:

word quantities must be aligned to four-byte boundaries

halfword quantities must be aligned to two-byte boundaries

byte quantities can be placed on any byte boundary.

The processor provides mixed-endian and unaligned access support. For details see Chapter 4

Unaligned and Mixed-endian Data Access Support.

Note

You cannot use LDRD, LDM, LDC, STRD, STM, or STC instructions to access 32-bit quantities if they are unaligned.

ARM DDI 0333H

Copyright © 2004-2009 ARM Limited. All rights reserved.

2-14

ID012410

Non-Confidential, Unrestricted Access

 

Соседние файлы в папке ARM