Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/22/01 10:07
Read: times


 
#17980 - RE: How to set array address
No, that won't work: you'll get a duplicate definition (or similar) error from the Linker.

You need to understand the difference between definitions and declataions:

A declaration just tells the Compiler that a symbol exists - its type, size, etc;

A definition is what actually allocates space in memory, or creates executable code.

You have already made the definition in your assembler, so you just need to provide a declaration in 'C':

You need to make your assembler symbol PUBLIC and provide a suitable extern declaration in 'C'

List of 4 messages in thread
TopicAuthorDate
How to set array address            01/01/70 00:00      
RE: How to set array address            01/01/70 00:00      
RE: How to set array address            01/01/70 00:00      
RE: How to set array address            01/01/70 00:00      

Back to Subject List