Comparison Of Big Endian And Little Endian External Access - Fujitsu FR60 Hardware Manual

32-bit microcontroller mb91301 series
Hide thumbs Also See for FR60:
Table of Contents

Advertisement

CHAPTER 4 EXTERNAL BUS INTERFACE
4.4.3
Comparison of Big Endian and Little Endian External
Access
This section shows a comparison of big endian and little endian external access in
word access, halfword access, and byte access for each bus width.
When data bus is connected according to examples of connecting to external devices
as shown in Sections "4.4.1 Big Endian Bus Access" and "4.4.2 Little Endian Bus
Access", all accesses become big endian for the internal register as follows.
The following figures describe big endian area and little endian area separately.
■ Word Access
Internal
register
D31
32-bit bus
width
D00
D31
16-bit bus
width
D00
Internal
register
D31
8-bit bus
width
D00
196
Big endian mode
External
terminal
terminal
address: Lower 2-bit: "0"
D31
AA
AA
BB
BB
CC
CC
DD
DD
D00
(1)
Internal
External
register
terminal
address: "0" "2"
D31
AA
AA CC
BB
BB DD
D16
CC
DD
(1)
(2)
External
terminal
address:
"0" "1" "2" "3"
D31
AA
AA BB CC DD
D24
BB
CC
DD
(1) (2) (3) (4)
Control
D31
WR0
WR1
WR2
WR3
D00
Control
terminal
D31
WR0
WR1
D00
Internal
Control
register
terminal
address:
D31
WR0
D00
Little endian mode
Internal
External
register
terminal
address : "0"
D31
AA
DD
BB
CC
CC
BB
DD
AA
D00
(1)
Internal
External
register
terminal
address: "0" "2"
D31
AA
DD BB
BB
CC AA
D16
D1 6
CC
DD
(1)
(2)
External
terminal
"0" "1" "2" "3"
D31
AA
DD CC BB
AA
D24
BB
CC
DD
(1) (2) (3) (4)
Control
terminal
WR0
WR1
WR2
WR3
Control
terminal
WR0
WR1
Control
terminal
WR0

Advertisement

Table of Contents
loading

Table of Contents