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

Converting from 8051 to AVR PICtel Assembler

Is it an quick reference?

Good for 8051 users???????????

you Share your knowledge aND I will learn

Parents
  • Different processors has different instruction sets.

    Small microcontrollers normally don't have the extra speed and memory needed to perform emulation of another processor.

    And since the instructions are not mapping one-to-one, you can't just convert from the mnemonic of one processor to the mnemonic of another.

    Because of this, the availability of - and the market for - such translation tools are almost zero. If people are interested in the ability to move code from one processor to another, then they write heir code using C.

    If the assembler code you have for one processor had been generated by a compiler, it might possibly be easier to translate to a different processor architecture, since you know that the compiler will not make use of every little specail feature possible.

    In the end, it will be time for you to learn how the existing program works, and then write new code for the other processor.

Reply
  • Different processors has different instruction sets.

    Small microcontrollers normally don't have the extra speed and memory needed to perform emulation of another processor.

    And since the instructions are not mapping one-to-one, you can't just convert from the mnemonic of one processor to the mnemonic of another.

    Because of this, the availability of - and the market for - such translation tools are almost zero. If people are interested in the ability to move code from one processor to another, then they write heir code using C.

    If the assembler code you have for one processor had been generated by a compiler, it might possibly be easier to translate to a different processor architecture, since you know that the compiler will not make use of every little specail feature possible.

    In the end, it will be time for you to learn how the existing program works, and then write new code for the other processor.

Children
No data