The data types used by MicroBlaze assembly programs are shown in the following table. Data types such as data8, data16, data32, and data64 are used in place of the usual byte, half-word, and word.register.
MicroBlaze Data Types (for Assembly Programs) | Corresponding ANSI C Data Types 32-bit MicroBlaze | Corresponding ANSI C Data Types 64-bit MicroBlaze | Size (Bytes) |
---|---|---|---|
data8 | char | char | 1 |
data16 | short | short | 2 |
data32 | int | int | 4 |
long int | - | 4 | |
float | float | 4 | |
enum | enum | 4 | |
data16/data32 | pointer 1 | - | 2/4 |
data64 | - | long int | 8 |
long long int | long long int | 8 | |
- | double | 8 | |
- | pointer | 8 | |
|