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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/25/02 12:21
Read: times


 
#22141 - RE: Assembly on C programm
"with C language but I'd like to know if it is possible to include assembly code"

most 'C' compilers provide some means to mix assembler into 'C' source - this is all non-standard, so you'll have to read the manual for your particular compiler.

As for calling between 'C' and assembler - of course you can!
You can do anything in assembler, so all you need to find out is the Calling Convention of your 'C' compiler - read the manual - and implement that.
The Keil C51 manual has a section specifically dedicated to this.

List of 26 messages in thread
TopicAuthorDate
Assembly on C programm            01/01/70 00:00      
   Delay routine for 30 seconds.            01/01/70 00:00      
      RE: Delay routine for 30 seconds.            01/01/70 00:00      
         RE: Delay routine for 30 seconds.            01/01/70 00:00      
            RE: Delay routine for 30 seconds.            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm -Bryan            01/01/70 00:00      
RE: Assembly on C programm - Erik            01/01/70 00:00      
RE: Assembly on C programm - Andy            01/01/70 00:00      
RE: Delays in C            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm            01/01/70 00:00      
RE: Assembly on C programm, Erik            01/01/70 00:00      
C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output            01/01/70 00:00      
RE: C Compiler output Andy            01/01/70 00:00      

Back to Subject List