We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have a potential customer that is interested in porting a 6809 application to the 8051. His 6809 code is all assembly. Does anyone know of any tools that can help him do this?
"you'll have to almost completely ignore that that you have the 6809 code" Not true. Assuming that the 6809 code is actually working, you can take that as a basis to see what it is doing, and port that to the 8051; Sure, discard (much of) the how of the 6809 code - but don't completely ignore it. This is where converting to 'C' may help - as you abstract the what from the details of the how I agree, however, that you are unlikely to find any automatic tool to do any of this. :-(
assembly conversion is, in my opinion, best accomplished by the following; 1) work all "headline" comments i.e. comment every process where the process start 2) make very extensive subroutine headings such as:
;;;;;;;; funnysumb ; ; at call: xxx must contain, yyy must contaimn ; ;at exit qqq contains, ppp contains