C251 User's Guide

CODE Compiler Directive

Abbreviation

CD

Arguments

None.

Default

No assembly code listing is generated.

µVision

Options — Listing — C Compiler Listing — Assembly Code.

Description

The CODE directive appends an assembly mnemonics list to the listing file. The assembler code is represented for each function contained in the source program. By default, no assembly code listing is included in the listing file.

Refer to the Listing File for an assembly listing example.

Example
C251 SAMPLE.C CD

#pragma code