Chapters

1. Software Installation
2. Overview
3. Language Implementation
4. Compiler Use
5. Compiler Diagnostics
6. Libraries
7. Run-time Environment

Appendices

A. Flexible License Manager (FLEXlm)
B. MISRA C
C. SFR Definition File
D. Restrictions for the 80751 and the 80752
E. Converting PL/M-51 Applications to C-51
F. CPU Functional Problems
G. Migration from Keil, Franklin or Archimedes

MANUAL PURPOSE AND STRUCTURE

PURPOSE

This manual is aimed at users of the TASKING C 8051 Cross-Compiler. It assumes that you are familiar with the C language.

MANUAL STRUCTURE

Related Publications
Conventions Used In This Manual

1. Software Installation
Describes the installation of the C Cross-Compiler for the 8051.

2. Overview
Provides an overview of the TASKING 8051 toolchain and gives you some familiarity with the different parts of it and their relationship. A sample session explains how to build an 8051 application from your C file.

3. Language Implementation
Concentrates on the approach of the 8051 architecture and describes the language implementation. The C language itself is not described in this document. We recommend: "The C Programming Language" (second edition) by B. Kernighan and D. Ritchie (1988, Prentice Hall).

4. Compiler Use
Deals with compiler invocation, command line options and pragmas.

5. Compiler Diagnostics
Describes the exit status and error/warning messages of the compilers.

6. Libraries
Contains the library functions supported by the compilers and describes their interface and 'header' files.

7. Run-time Environment
Describes the run-time environment for a C-51 application. It deals with items like register usage, assembly language interfacing, C startup code, interrupt handlers, stack/heap size and floating point mathematic.

APPENDICES

A. Flexible License Manager (FLEXlm)
Contains a description of the Flexible License Manager.

B. MISRA C
Supported and unsupported MISRA C rules.

C. SFR Definition File
Contains an example of a Special Function Register definition file.

D. Restrictions for the 80751 and the 80752
Contains the restrictions of the cc51 for certain 8051 derivatives.

E. Converting PL/M-51 Applications to C-51
Describes how to convert PL/M-51 applications to C-51.

F. CPU Functional Problems
Describes how the 8051 toolchain can bypass some functional problems of the CPU.

G. Migration from Keil, Franklin or Archimedes
Describes how you can migrate your C-51 application from the Keil, Franklin or Archimedes compiler to the TASKING C-51 compiler (cc51).

RELATED PUBLICATIONS

CONVENTIONS USED IN THIS MANUAL

The notation used to describe the format of call lines is given below:

{ } Items shown inside curly braces enclose a list from which you must choose an item.

[ ] Items shown inside square brackets enclose items that are optional.

| The vertical bar separates items in a list. It can be read as OR.

italics Items shown in italic letters mean that you have to substitute the item. If italic items are inside square brackets, they are optional. For example:

filename

means: type the name of your file in place of the word filename.

... An ellipsis indicates that you can repeat the preceding item zero or more times.

screen font Represents input examples and screen output examples.

bold font Represents a command name, an option or a complete command line which you can enter.

For example

This line could be written in plain English as: execute the command command with the optional options option and with the file filename.

Illustrations

The following illustrations are used in this manual:

This is a note. It gives you extra information.

This is a warning. Read the information carefully.

This illustration indicates actions you can perform with the mouse.

This illustration indicates keyboard input.

This illustration can be read as "See also". It contains a reference to another command, option or section.


Copyright © 2002 Altium BV