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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/13/03 21:44
Read: times


 
#39006 - RE: asm2c conversion
Responding to: ???'s previous message
"It was discussed before in this forum. If i remember well the response is NO."

Correct on both counts!

To summarise:

There is a 1:1 correspondence between assembler instructions an machine instructions - each assembler instruction generates precisely one machine instruction; therefore, conversely, each machine instruction can be generated by only one assembler instruction.
(the "only" problem is knowing whether a particular byte in your binary is actually an instruction or not...)

In a high-level language (eg, 'C') you have no such guarantee - especially with an optimising compiler!
Therefore it is impossible to determine what 'C' source generated a particular piece of assembler.

List of 7 messages in thread
TopicAuthorDate
asm2c conversion            01/01/70 00:00      
   RE: asm2c conversion            01/01/70 00:00      
   RE: asm2c conversion            01/01/70 00:00      
      RE: asm2c conversion            01/01/70 00:00      
   RE: asm2c conversion            01/01/70 00:00      
   RE: asm2c conversion            01/01/70 00:00      
      RE: asm2c conversion            01/01/70 00:00      

Back to Subject List