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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/02/09 21:50
Read: times


 
#166679 - Why do you ask?
Responding to: ???'s previous message
Is it purely out of curiosity, or do you have some need to know?

A compiler will use whatever instructions it deems necessary to implement the supplied source code. If there is no reason or need to use a particular machine instruction, then it won't get used - just like a real assembly programmer will only use an instruction if he has a need for it.

With an open-source compiler like SDCC, you could examine its code generation and see if there are any instructions that could never occur - but what would be the point?


List of 9 messages in thread
TopicAuthorDate
c compilers            01/01/70 00:00      
   Didnt get it...            01/01/70 00:00      
   Why do you ask?            01/01/70 00:00      
      Depends a lot on processor and compiler            01/01/70 00:00      
         Other examples:            01/01/70 00:00      
            Not necessarily true            01/01/70 00:00      
               Hand-crafted libraries            01/01/70 00:00      
                  I don't see this as compiler output            01/01/70 00:00      
                     Seemed to be quite explicit question            01/01/70 00:00      

Back to Subject List