DSP56800 to DSP56800E Porting Guide

2022-06-13
●Introduction
■The DSP56800E is designed to enhance the combined MCU/DSC functionality of its predecessor, the DSP56800. The new architecture has been developed to ensure that programs originally written for the DSP56800 (also referred to as legacy code) will assemble and run correctly through the porting process. This process can be guaranteed by adopting a number of simple rules described in this guide. The CodeWarrior Assembler (CW) available from Metrowerks, also provides messages designed to facilitate the porting process.
■The complete instruction set of the DSP56800 is supported by the toolset available for the DSP56800E. Assembly code developed for the DSP56800 can be directly interpreted by the CW Assembler when the option to allow legacy instructions is set. When this mode of operation is enabled, the assembler is configured to recognize the DSP56800 as well as DSP56800E syntax. Consequently, the original source code generally does not have to be translated to the new DSP56800E syntax unless the user wants to optimize the code for performance and code density. Debugging assembly files under CodeWarrior is also done on the original syntax.
■The new architecture also introduces additional addressing modes and instructions for the expressed purpose of supporting legacy DSP56800 instructions LEA, TSTW, and MOVE. This added capability is not described in the DSP56800E Core Reference Manual; it is only documented in this guide. These special legacy instructions are only preserved in the 56800E's architecture to guarantee exact execution of legacy code. The legacy instructions appear shaded in Table A-10 page A-8 to specifically highlight their use in this architecture.
■Similarly, there are some differences in instruction syntax between the DSP56800 and DSP56800E architectures which are shown throughout the guide. The exact mnemonic mapping of each DSP56800 instruction into the corresponding DSP56800E assembly instruction is also shown in Table A-10 through Table A-14. In some cases, the mapping requires an adjustment, as is the case when loading the N register, (see Note 1 at the end of Table A-10), or when replacing REP LC with the DOSLC instruction.
■This guide discusses all porting issues between the DSP56800 and the DSP56800E. It illustrates and examines architectural differences, discusses all compatibility issues between the two architectures, and provides assembly code segments which demonstrate how compatibility can be achieved with minimal user intervention on the original legacy code.

NXP

DSP56800DSP56800E

More

Part#

Digital Signal Processors

More

More

User's Guide

More

More

Please see the document for details

More

More

English Chinese Chinese and English Japanese

11/2005

Rev. 1.1

DSP56800ERG

804 KB

- The full preview is over. If you want to read the whole 90 page document,please Sign in/Register -
  • +1 Like
  • Add to Favorites

Recommend

All reproduced articles on this site are for the purpose of conveying more information and clearly indicate the source. If media or individuals who do not want to be reproduced can contact us, which will be deleted.

Contact Us

Email: