APPENDIX D NOTES ON USING A LITTLE ENDIAN AREA
D.2
Assembler (fasm911)
The following items regarding little endian areas need to be noted when the FR family
assembly language is used for programming:
• Section
• Data access
■ Section
A little endian area is primarily intended to be used for data exchange with CPUs with little
endian lines. Consequently, define a little endian area as a data section without an initial value.
If a code, stack, or data section with an initial value is specified in a little endian area, the
MB91301 series access operation cannot be guaranteed.
[Example]
/* Section definition of a correct little endian area */
Little_Word:
Little_Half:
Little_Byte:
568
.SECTION Little_Area, DATA, ALIGN=4
.RES.W
1
.RES.H
1
.RES.B
1