Keil Cx51 Compiler User Manual

This document is the user manual for the Cx51 compiler, which is an optimized C compiler and library reference for traditional and extended 8051 microprocessors. The manual provides detailed descriptions and operating instructions, as well as suggestions for error corrections and improvements.


Keil Cx51 Compiler User Manual - cover page
Brand
KEIL
Document type
User Manual
Language
English
Pages
403
File format
PDF
File size
1.7 MB
Updated
28 September, 2023
Model
CX51
MD5 checksum
C9763093C4D5D04E2B4AC4A2CB64DB11

About this manual

This manual introduces the Keil Cx51 compiler, a tool for developing software for 8051 microcontrollers. It explains how to set up the environment, compile source files, and manage output, with detailed sections on command‑line usage and compiler options.

The document also describes language extensions, preprocessor directives, supported 8051 variants, memory models, and advanced programming techniques such as custom startup files and real‑time function tasks. Each chapter includes reference tables and examples to help users apply the compiler to their projects.

What's inside

  • Introduction
  • Compiling with the Cx51 Compiler
  • Control Directives
  • Language Extensions
  • Preprocessor
  • 8051 Derivatives
  • Memory Models
  • Advanced Programming Techniques
  • Customisation Files
  • Reference

Specifications

Supported 8051 variantsAll 8051 variants

Frequently asked questions

How can I specify the memory model for a function?

You can specify the memory model for a function using the appropriate compiler option in the function declaration section.

Download PDF (1.7 MB)

More KEIL Manuals


View all KEIL manuals →