Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

AN1106 Datasheet(PDF) 2 Page - STMicroelectronics

Part # AN1106
Description  TRANSLATING ASSEMBLY CODE FROM HC05 TO ST7
PDF  9 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1106 Datasheet(HTML) 2 Page - STMicroelectronics

  AN1106 Datasheet HTML 1Page - STMicroelectronics AN1106 Datasheet HTML 2Page - STMicroelectronics AN1106 Datasheet HTML 3Page - STMicroelectronics AN1106 Datasheet HTML 4Page - STMicroelectronics AN1106 Datasheet HTML 5Page - STMicroelectronics AN1106 Datasheet HTML 6Page - STMicroelectronics AN1106 Datasheet HTML 7Page - STMicroelectronics AN1106 Datasheet HTML 8Page - STMicroelectronics AN1106 Datasheet HTML 9Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 2 / 9 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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