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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/07/05 18:34
Read: times


 
#89233 - in the olden days, I did
Responding to: ???'s previous message
Has anyone heard about or seen an automated tool that could take 8051 assembly language source code and convert that to AVR source code (also in assembler)?

in the olden days, I did a few assembly conversions from discontinued uCs to current ones. I learned soon that doing it automatic led to very inefficient code (and in those days memory cost REAL money) and that doing it purely manual took too long.

What I ended up doing was to write a ton of macros that converted popular constructs to "new" assembler and when the error count assembling the "old" code with these macros got low enough, finish it off manually. Then - after verifying that it "worked" find the spots where the code could really need a "conversion to new philosophy" and firming those parts up till the code fit in the memory of the designated derivative (previous testing done with the ICE).

At that time I had "macro packages" to include for such conversions, they have been trashed long ago.

I think that were I to do such a conversion today, I would simply rewrite the thang in C.

Erik

List of 15 messages in thread
TopicAuthorDate
8051 Assembler Source Converter ??            01/01/70 00:00      
   If you can't find one...            01/01/70 00:00      
      Try to speak with guys from datatek            01/01/70 00:00      
   sdcc            01/01/70 00:00      
   Translator            01/01/70 00:00      
      not so fast            01/01/70 00:00      
         Shove, not push            01/01/70 00:00      
            8051 & AVR similar?            01/01/70 00:00      
               C            01/01/70 00:00      
                  Of course C !            01/01/70 00:00      
               acc - the least of a problem            01/01/70 00:00      
         Assumptions            01/01/70 00:00      
   let's try...            01/01/70 00:00      
   in the olden days, I did            01/01/70 00:00      
      I'm inclined to C            01/01/70 00:00      

Back to Subject List