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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Erik Malund
03/24/06 07:48
Read: 400 times
Mt Airy, Nc

#112979 - Everybody want "example code" WHY? is th
Responding to: Smitha Shankar's previous message
the easiest way to make asm routines that are calleable from C is to write a skeleton routine in C and use the generated asm as a template.

please give me some example code

Everybody want "example code" WHY? is this just a means of getting actual code without getting a gimme code ranking?

I have yet to meet anybody that has learned anything from "example code" but "a means" of doing something which may be optimal or not. I have, however met many that had bad habits inherited from "example code" they had looked at long ago. It seems that looking at "example code" from 4 sources will give ypo 4 bad habits, writing code on your own will give you less.


List of 12 messages in thread
c and asm mix      Smitha Shankar      03/24/06 03:36      
   which assembler which which Compiler?      Abhishek Singh      03/24/06 03:49      
      reply      Smitha Shankar      03/24/06 03:57      
      c and asm mix      Smitha Shankar      03/24/06 04:03      
         RTFM      Andy Neil      03/24/06 04:42      
            Yes Follow what Andy's Prescribes      Abhishek Singh      03/24/06 08:50      
               why not use my method      Erik Malund      03/24/06 09:10      
         Keil example      Andy Neil      03/24/06 05:09      
   Everybody want "example code" WHY? is th      Erik Malund      03/24/06 07:48      
      Not very usefully in this case      Neil Kurzman      03/24/06 10:19      
         even less than useful      Erik Malund      03/24/06 10:23      
            AMC C interface      Abhishek Singh      03/24/06 18:30      

Back to Subject List