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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/16/02 23:04
Read: times


 
#25911 - RE: C and Assembly code interfacing
Well Shahzad, if you want to make this a function call you should probably do what Erik suggests write a skeleton in C and convert it. However, because you are using the Raisonance tools you have another option.

If all you want to do is manipulate data within the C function you can use the "asm" keyword as described on page 37 of the RC51 manual. This allows you to just code up your assembly "inline" with the C code and keep your high level language support AND your assembly advantages. Your C file isn't converted to assembly, the assembly is just located inline at the location specified by the code.

Bryan Whitton

List of 9 messages in thread
TopicAuthorDate
C and Assembly code interfacing            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      
RE: Erik            01/01/70 00:00      
RE: Erik            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      
RE: C and Assembly code interfaci            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      
RE: C and Assembly code interfacing            01/01/70 00:00      

Back to Subject List