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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/26/02 13:17
Read: times


 
#22187 - RE: Assembly on C programm


erik malund wrote:
-------------------------------
The "opcode injection" method (eg Bryan's asm{} keyword) seems easy if you consider that each 'C' source line produces a distinct piece of object; but - especially with modern optimising compilers - this is not necessarily the case! Thus, although the position of the "injected" opcode may seem obvious in the source file, the corresponding position in the generated object could be a bit more tricky!

Is this not the Gatesian Idea, "we will make it more difficult for you to do what you want to do, so you will do what we want you to do" ?

The compiler, to the best of my knowledge, generates assembly source regardless.

Besides Bryan claim to have the best optimiser, so it can't be a big hurdle.

Erik


Actually the compiler doesn't generate assembly source with the asm{} insertion method. Remember it requires the opcode to work and just inserts the opcode where specified.

Bryan


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