Specifications
Application Binary Interface
7
2015.04.02
NII51016
Subscribe
Send Feedback
This chapter describes the Application Binary Interface (ABI) for the Nios
®
II processor. The ABI
describes:
• How data is arranged in memory
• Behavior and structure of the stack
• Function calling conventions
Data Types
Table 7-1: Representation of Data C/C++ Types
Type Size (Bytes) Representation
char, signed char 1 two’s complement (ASCII)
unsigned char 1 binary (ASCII)
short, signed short 2 two’s complement
unsigned short 2 binary
int, signed int 4 two’s complement
unsigned int 4 binary
long, signed long 4 two’s complement
unsigned long 4 binary
float 4 IEEE
double 8 IEEE
pointer 4 binary
long long 8 two’s complement
unsigned long long 8 binary
©
2015 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are
trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as
trademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance
of its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to any
products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information,
product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device
specifications before relying on any published information and before placing orders for products or services.
ISO
9001:2008
Registered
www.altera.com
101 Innovation Drive, San Jose, CA 95134