Keil Logo

CODE Assembler Statement

Arguments
symbol CODE address
Description

The CODE statement assigns an address (in the range 0000h-0FFFFh) to the specified symbol. The symbol may not be redefined.

See Also

BIT, CSEG, DATA, IDATA, XDATA

Example
CO_START   CODE    00000h
CO_END     CODE    0FFFFh

IVECT_0    CODE    00003h
IVECT_1    CODE    0000Bh
IVECT_2    CODE    00013h
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.