Keil™, An ARM® Company

CARM User's Guide

Discontinued

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 for an assembly listing example.

Example 
CA SAMPLE.C CD

#pragma code