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

Back to Subject List

Thread Closed: Drifted off-topic

???
02/04/05 00:46
Read: times


 
#86503 - compile it and see
Responding to: ???'s previous message
Whenever I'm curious about the assembler equivalent of some C code, I simply write a little test program, compile it, and take a peek at the generated code. Code will vary of course depending on the memory model used, which will cause variables to be located differently.

In any case, keep in mind that what one compiler generates might be different from another, especially with respect to endianess. It may even be different from release to release--with the last release of my IAR compiler, among other things the int and long variables changed from big endian to little endian.

Dennis

List of 9 messages in thread
TopicAuthorDate
Reg:C51            01/01/70 00:00      
   compile it and see            01/01/70 00:00      
   RTFM! RTFM! RTFM! RTFM! RTFM! RTFM! RTFM            01/01/70 00:00      
      Frustrated and Sick of This            01/01/70 00:00      
         stopping the broken record            01/01/70 00:00      
         Tiresome, isn't it?            01/01/70 00:00      
            a suggestion            01/01/70 00:00      
   self regulation of t'forum.            01/01/70 00:00      
      waste of bandwidth?            01/01/70 00:00      

Back to Subject List