This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

6809 to 8051 assembly language converter

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?

Parents
  • "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. :-(

Reply
  • "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. :-(

Children
  • 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
    Then discard all code, leaving the comments
    3) start coding

    Erik