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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/30/04 16:35
Read: times


 
#63694 - RE: C and ASM - which one is better for...
Responding to: ???'s previous message
...because C is more structured and clean language. C-compiler is more "clever" and is able to find many typpos and other errors in your code due C-language rules is more strong (oh, but it cannot find own errors :)
Also, using many already-done libraries it is simple and more fast to create new product.
From other side, with good knowledge of ASM you may produce faster and shorter programs than C does.
So, summary: use ASM for time-crutical routines. The good solution: create separate .asm file, put all your low-level assembly routines to there, make these functions as public, and call them from main C program, where you declare them as "extern". Due compilation, linker creates hex from both C and ASM object files - no problems!

Regards,
Oleg

List of 20 messages in thread
TopicAuthorDate
C and ASM - which one is better for...            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      
      RE: C and ASM - which one is better for...            01/01/70 00:00      
         Suggest me one...            01/01/70 00:00      
            Combined Compiler & Assembler            01/01/70 00:00      
   RE: C and ASM - which one is better for.            01/01/70 00:00      
   RE: C and ASM - which one is better for.            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      
      Properties or usages?            01/01/70 00:00      
         You know what you need            01/01/70 00:00      
            8052 - for university?            01/01/70 00:00      
               RE: 8052 - for university?            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      
   Suggested to learn C            01/01/70 00:00      
      RE: Suggested to learn C            01/01/70 00:00      
         RE: Suggested to learn C            01/01/70 00:00      
            RE: Suggested to learn C            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      
      RE: C and ASM - which one is better for...            01/01/70 00:00      
   RE: C and ASM - which one is better for...            01/01/70 00:00      

Back to Subject List