Usage Restrictions Concerning Big Endian Format With Nec Development Tools; Word Data Little Endian Format Example; Word Data Big Endian Format Example - Renesas NU85E Preliminary User's Manual

32-bit microprocessor core
Table of Contents

Advertisement

31
(000BH)
(0007H)
(0003H)
31
(0008H)
(0004H)
(0000H)

4.6.2 Usage restrictions concerning big endian format with NEC development tools

(1) When using the debugger (ID850)
Only the memory window display supports the big endian format.
(2) When using the compiler (CA850)
(a) C language restrictions
(i)
The following restrictions are attached to variables configured in a big endian space.
<1> unions cannot be used.
<2> bitfields cannot be used.
<3> Accesses based on the cast (changed access size) cannot be used.
<4> Variables with initial values cannot be used.
(ii) Because the access size may change due to optimization, it is necessary to specify the following
optimization suppression options.
• For global optimization sections (opt850)..................-Wo, -XTb
• For model-based optimization sections (impr850).....-Wi, +arg_reg_opt=OFF, +stld_trans_opt=OFF
88
CHAPTER 4 BCU
Figure 4-9. Word Data Little Endian Format Example
24
23
16 15
(000AH)
(0006H)
(0002H)
Figure 4-10. Word Data Big Endian Format Example
24
23
16 15
(0009H)
(0005H)
(0001H)
Preliminary User's Manual A14874EJ3V0UM
8
7
(0009H)
(0008H)
(0005H)
(0004H)
(0001H)
(0000H)
8
7
(000AH)
(000BH)
(0006H)
(0007H)
(0002H)
(0003H)
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nu85ea

Table of Contents