96
CHAPTER 4 External Bus Interface
4.5.3 Little Endian Register (LER)
Bus access of the MB91191/MB91192 series is usually big endian for all areas, but
setting the LER enables one of the areas from 1 to 5 to be handled as a little endian
area.
However, area 0 is not for little endian.
■ Little Endian Register (LER)
Figure 4.5-6 Little endian register (LER)
Table 4.5-1 Mode setting using combination of bits (LE2, LE1 and LE0)
LE2 LE1 LE0 Mode
0 0 0 Initial value after reset. No little endian area exists.
0 0 1 Area 1 is handled as little endian. Area 0, 2 to 5 are handled as big endian.
0 1 0 Area 2 is handled as little endian. Area 0 to 1 and 3 to 5 are handled as big endian.
0 1 1 Area 3 is handled as little endian. Area 0 to 2 and 4 to 5 are handled as big endian.
1 0 0 Area 4 is handled as little endian. Area 0 to 3 and 5 are handled as big endian.
1 0 1 Area 5 is handled as little endian. Area 0 to 4 are handled as big endian.
76543210
Initial value
Address: 0000 07FE
H LE2 LE1 LE0 -----000B
WWW
bit
Access