1
1-14
M32R-FPU Software Manual (Rev.1.01)
(2) Data format in memory
The data sizes in memory can be byte (8 bits), halfword (16 bits) or word (32 bits).
Although byte data can be located at any address, halfword and word data must be
located at the addresses aligned with a halfword boundary (least significant
address bit = "0") or a word boundary (two low-order address bits = "00"),
respectively. If an attempt is made to access memory data that overlaps the
halfword or word boundary, an address exception occurs.
Address
byte
half
word
word
+0 address +1 address +2 address +3 address
b0 b31
byte
byte
byte
byte
halfword
halfword
word
7 8 15 16 23 24
Figure 1.6.3 Data Format in Memory
CPU PROGRAMMING MODEL
1.6 Data Format