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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/09/09 11:53
Read: times


 
#162217 - Pracise with your OWN code
Responding to: ???'s previous message
Jan's advice is very wise.

Disassemble your own hex file. Identify your most common functions and edit the labels to your original names.

You will discover how to identify code blocks, data blocks and the general structure of your program. Edit the disassembler control file to recognise these different blocks.

Your disassembled code gradually becomes readable. Repeat the exercise with a hex file generated by one of your own C programs. You should be able to edit the source, move stuff around a bit and still get a working binary program.

You will learn which Compiler has produced which hex file.

Now you can start with a foreign hex file. It is hard work but possible to re-create a working source code. But as others have suggested it far easier to just write the whole thing from scratch.

David.

List of 17 messages in thread
TopicAuthorDate
help on DISASEMBLE code....            01/01/70 00:00      
   Try posting formatted code            01/01/70 00:00      
      oh...sory            01/01/70 00:00      
   why and what are you disassembling            01/01/70 00:00      
      that is another problem            01/01/70 00:00      
   The scheme ?            01/01/70 00:00      
      im still trying to figure it out :D            01/01/70 00:00      
   try this            01/01/70 00:00      
      some disassemblers are better than some, but ...            01/01/70 00:00      
         maybe.....            01/01/70 00:00      
      thank you            01/01/70 00:00      
   the knack, and how to get it            01/01/70 00:00      
      The Knack            01/01/70 00:00      
      Pracise with your OWN code            01/01/70 00:00      
      wow...            01/01/70 00:00      
         oh, never mind youtube...            01/01/70 00:00      
            :D            01/01/70 00:00      

Back to Subject List