Chapter 4. using the ansi c-compiler, Using the ansi c-compiler – Zilog ZUSBOPTS User Manual

Page 183

Advertising
background image

UM017105-0511

Using the ANSI C-Compiler

Zilog Developer Studio II – ZNEO™

User Manual

155

Chapter 4. Using the ANSI C-Compiler

The ZNEO C-Compiler is a conforming freestanding 1989 ANSI C implementation with
some exceptions. These exceptions are described in the ANSI Standard Compliance sec-
tion. In accordance with the definition of a freestanding implementation, the compiler
accepts programs that confine the use of the features of the ANSI standard library to the
contents of the standard headers <

float.h

>, <

limits.h

>, <

stdarg.h

> and <

std-

def.h

>. The ZNEO compiler release supports more of the standard library than is

required of a freestanding implementation as listed in the

Run-Time Library

section on

page 177.

The ZNEO C-Compiler supports language extensions for easy programming of the ZNEO
processor architecture, which include support for different address spaces and interrupt
function designation. The language extensions are described in the

Language Extensions

section on page 156.

This chapter describes the various features of the ZNEO C-Compiler. It consists of the fol-
lowing sections:

•

Language Extensions

– see page 156

•

Type Sizes

– see page 169

•

Predefined Macros

– see page 170

•

Calling Conventions

– see page 172

•

Calling Assembly Functions from C

– see page 174

•

Calling C Functions from Assembly

– see page 176

•

Command Line Options

– see page 177

•

Run-Time Library

– see page 177

•

Stack Pointer Overflow

– see page 186

•

Startup Files

– see page 187

•

Segment Naming

– see page 188

•

Linker Command Files for C Programs

– see page 188

•

ANSI Standard Compliance

– see page 194

•

Warning and Error Messages

– see page 197

The ZNEO C-Compiler is optimized for embedded applications in which execution speed
and code size are crucial.

Advertising
This manual is related to the following products: