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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/29/00 19:34
Read: times


 
#4782 - RE: mixing C and assembler language!
Hi Salam,

there are many different ways:

1.
you declare the variables as public in assembler and extern in C

2.
vice versa.

3.
you store the variables at a fixed address and define variables at fixed adresses in C with the _at_ statement.

4.
You give a pointer to the assembler program, at which it must store the data.

5.
the assembler routine return pointer with the address, at which the values are stored.


Peter


List of 7 messages in thread
TopicAuthorDate
mixing C and assembler language!            01/01/70 00:00      
   RE: mixing C and assembler language!            01/01/70 00:00      
      RE: mixing C and assembler language!            01/01/70 00:00      
RE: mixing C and assembler language!            01/01/70 00:00      
   RE: mixing C and assembler language!            01/01/70 00:00      
RE: mixing C and assembler language!            01/01/70 00:00      
   RE: mixing C and assembler language!            01/01/70 00:00      

Back to Subject List