Discussion Forum

Importing constants

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Viktor Bucher
Posted
8-Mar-2007 15:52 GMT
Toolset
ARM
New! Importing constants

How to import to a *.c file a constant defined in a *.asm file with EQU directive ?

Read-Only
Author
Hans-Bernhard Broeker
Posted
8-Mar-2007 19:25 GMT
Toolset
ARM
New! RE: Importing constants

Roughly said, you don't. C doesn't have anything like EQU --- there are no link-time constants in this language.

Read-Only
Author
Andy Neil
Posted
9-Mar-2007 08:21 GMT
Toolset
ARM
New! RE: Importing constants

You can't, but you can do it the other way around - see: http://www.keil.com/forum/docs/thread8313.asp

Next Thread | Thread List | Previous Thread Start a Thread | Settings