Data Types - 2024.2 English

MicroBlaze Processor Reference Guide (UG984)

Document ID
UG984
Release Date
2024-11-27
Version
2024.2 English

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.

Table 1. Data Types in MicroBlaze Assembly Programs
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
  1. Pointers to small data areas, which can be accessed by global pointers are data16.