| Electronic Components Datasheet Search |
|
AN1106 Datasheet(PDF) 2 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1106 Datasheet(HTML) 2 Page - STMicroelectronics |
|
2 / 9 page ![]() 2/9 TRANSLATING ASSEMBLY CODE FROM HC05 TO ST7 3 DETAILED PROCEDURE 3.1 MIGRATING CODE The first step in migrating HC05 code to ST7 is to use the code translator described in the pre- vious section. This free software has been designed to help convert HC05 assembly code into ST7 source code. Basically, it converts all mnemonics and it adapts some directives fit the ST7 assembler requirements. This tool will not adapt the software routines for ST7 specific peripherals or use the specific features of the ST7 core (addressing modes, Y register...). Therefore, further modification of the software have to be done by the user; refer to the ST7 assembler documentation and application notes for details on using of the ST7 instructions. 3.2 RECOMMENDATIONS AND ADVICE The following gives some advice to help you in translate your code more quickly: – Bear in mind that comment lines in ST7 assembly language begin with a semicolon “;”. – Remember to include the “2500adcb.h” file (this is a file included at the beginning of your source file during the translation). It contains definitions and macros for defining the Motorola code directives correctly if the assembler you use is not the 2500AD one. For example #define EXPORT PUBLIC or #define IMPORT EXTERN. After using the translator, read all your files to make any corrections. 2 |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |