Nios® II Processor Reference Guide

ID 683836
Date 8/28/2023
Public
Document Table of Contents

7.1. Data Types

Table 79.  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