beautypg.com

Using the ansi c-compiler – Zilog EZ80F916 User Manual

Page 154

background image

UM014423-0607

Using the ANSI C-Compiler

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

134

Using the ANSI C-Compiler

The eZ80Acclaim! C-Compiler is a conforming freestanding 1989 ANSI C implementa-
tion with some exceptions. These exceptions are described in “ANSI Standard Compli-
ance” on page 164
. 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 <

stddef.h

>. The eZ80Acclaim! compiler release supports more of the standard

library than is required of a freestanding implementation, as listed in “Run-Time Library”
on page 154.

The eZ80Acclaim! C-Compiler supports language extensions for the easy programming of
the eZ80Acclaim! processor architecture. The language extensions are described in “Lan-
guage Extensions” on page 135.

The following sections describe the various features of the eZ80Acclaim! C-Compiler:

“Language Extensions” on page 135

“Type Sizes” on page 147

“Predefined Macros” on page 148

“Calling Conventions” on page 149

“Calling Assembly Functions from C” on page 152

“Calling C Functions from Assembly” on page 153

“Command Line Options” on page 154

“Run-Time Library” on page 154

“Pseudoinstruction Macros Generated by the C-Compiler” on page 156

“Startup Files” on page 157

“Segment Naming” on page 158

“Linker Command Files for C Programs” on page 158

“ANSI Standard Compliance” on page 164

“Locating Variables at Specific Addresses: Older Method” on page 167

“Warning and Error Messages” on page 168

The eZ80Acclaim! C-Compiler is optimized for embedded applications in which execu-
tion speed and code size are crucial.

This manual is related to the following products: