Data Types And Endianness - Xilinx MicroBlaze Reference Manual

Embedded development kit edk 14.7
Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

Data Types and Endianness

MicroBlaze uses Big-Endian or Little-Endian format to represent data, depending on the parameter
C_ENDIANNESS. The hardware supported data types for MicroBlaze are word, half word, and
byte. When using the reversed load and store instructions LHUR, LWR, SHR and SWR, the bytes in
the data are reversed, as indicated by the byte-reversed order.
The bit and byte organization for each type is shown in the following tables.
Table 2-2: Word Data Type
Big-Endian Byte Address
Big-Endian Byte Significance
Big-Endian Byte Order
Big-Endian Byte-Reversed Order
Little-Endian Byte Address
Little-Endian Byte Significance
Little-Endian Byte Order
Little-Endian Byte-Reversed Order
Bit Label
Bit Significance
Table 2-3: Half Word Data Type
Big-Endian Byte Address
Big-Endian Byte Significance
Big-Endian Byte Order
Big-Endian Byte-Reversed Order
Little-Endian Byte Address
Little-Endian Byte Significance
Little-Endian Byte Order
Little-Endian Byte-Reversed Order
Bit Label
Bit Significance
Table 2-4: Byte Data Type
Byte Address
Bit Label
Bit Significance
MicroBlaze Processor Reference Guide
UG081 (v14.7)
n
n+1
MSByte
n
n+1
n+3
n+2
n+3
n+2
MSByte
n+3
n+2
n
n+1
0
MSBit
n
n+1
MSByte
LSByte
n
n+1
n+1
n
n+1
n
MSByte
LSByte
n+1
n
n
n+1
0
15
MSBit
LSBit
n
0
7
MSBit
LSBit
www.xilinx.com
Data Types and Endianness
n+2
n+3
LSByte
n+2
n+3
n+1
n
n+1
n
LSByte
n+1
n
n+2
n+3
31
LSBit
Send Feedback
13

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MicroBlaze and is the answer not in the manual?

Table of Contents