398
APPENDIX D Notes on Using Little Endian Areas
Do not allocate double and long double type variables to little endian areas.
[Example of incorrect processing] Transfer of double type data
double big = 1.0; /* Big endian area */
extern int little; /* Little endian area */
little = big; /* Transfer of double type data */
The execution result of the above transfer is rendered incorrect by the transfer of double type
data as follows:
■
Allocating a Stack to a Little Endian Area
If some part or the whole area of a stack is allocated to a little endian area, the result of the
subsequent operation may be rendered invalid.
3f
f0
00
00
00
00
00
00
(Big endian area)
(Little endian area)
(Correct result)
3f
f0
00
00
00
00
00
00
00
00
00
00
00
00
3f
f0
Summary of Contents for MB91F109
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Page 4: ......
Page 10: ...vi ...
Page 24: ...xx ...
Page 96: ...72 CHAPTER 2 CPU ...
Page 224: ...200 CHAPTER 4 BUS INTERFACE ...
Page 234: ...210 CHAPTER 5 I O PORTS ...
Page 268: ...244 CHAPTER 9 U TIMER ...
Page 290: ...266 CHAPTER 10 UART ...
Page 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Page 392: ...368 CHAPTER 16 FLASH MEMORY ...
Page 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Page 448: ...424 APPENDIX E Instructions ...
Page 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 458: ...434 INDEX ...
Page 460: ......
Page 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...