Introduction; Data Types - Xilinx MicroBlaze Reference Manual

Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

MicroBlaze Application Binary Interface

Introduction

This chapter describes MicroBlaze™ Application Binary Interface (ABI), which is important
for developing software in assembly language for the soft processor. The MicroBlaze GNU
compiler follows the conventions described in this document. Any code written by assembly
programmers should also follow the same conventions to be compatible with the compiler
generated code. Interrupt and Exception handling is also explained briefly.

Data Types

The data types used by MicroBlaze assembly programs are shown in the following table.
Data types such as data8, data16, and data32 are used in place of the usual byte, half-word,
and word.register.
Table 4-1: Data Types in MicroBlaze Assembly Programs
MicroBlaze data types
(for assembly programs)
data8
data16
data32
data32
data32
data32
data16/data32
1. Pointers to small data areas, which can be accessed by global pointers are data16.
MicroBlaze Processor Reference Guide
UG984 (v2018.2) June 21, 2018
Corresponding ANSI C data types
char
short
int
long int
float
enum
1
pointer
www.xilinx.com
Chapter 4
Size (bytes)
1
2
4
4
4
4
2/4
186
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents