beautypg.com

Using the ansi c-compiler, Using, The ansi c-compiler – Zilog Z8F0130 User Manual

Page 217: Library (described in the

background image

UM013037-1212

Using the ANSI C-Compiler

Zilog Developer Studio II – Z8 Encore!

User Manual

193

Using the ANSI C-Compiler

The following sections provide you For functions that are declared to be monitor functions
by the use of

#pragma _monitor

, the saved value of the interrupt control register

(IRQCTL) will be inserted on the stack between the caller’s frame pointer and the return
address.

writing C programs with the ANSI C-Compiler:

Language Extensions

– see page 194

Type Sizes

– see page 211

Predefined Macros

– see page 211

Calling Conventions

– see page 215

Calling Assembly Functions from C

– see page 221

Calling C Functions from Assembly

– see page 223

Command Line Options

– see page 224

Run-Time Library

– see page 225

Start-Up Files

– see page 243

Segment Naming

– see page 246

Linker Command Files for C Programs

– see page 247

ANSI Standard Compliance

– see page 255

Warning and Error Messages

– see page 259

For functions that are declared to be monitor functions by the use of

#pragma _monitor

,

the saved value of the interrupt control register (IRQCTL) will be inserted on the stack
between the caller’s frame pointer and the return address.

using the compiler in the developer’s environment, refer to the

Getting Started

section on

page 9 and the

Using the Integrated Development Environment

section on page 23.

Note:

Note: