Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Mixing assembly and C...

2004-02-20 by Musharraf Hanif

Hello all,

I am using Keil with a GNU compiler in an attempt to develop some code.

I have been trying to determine some method by which I can obtain the value 
of the addresses of some lables (in assembly) to use them in my C code. Can 
anyone help me?

Also, how can I use some constants defined in some c/h file in an assembly 
file. Similarly for a reversed situation.

Any help will be appreciated.

Regards,

Musharraf Hanif

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.