Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

AN1106 Scheda tecnica(PDF) 6 Page - STMicroelectronics

Il numero della parte AN1106
Spiegazioni elettronici  TRANSLATING ASSEMBLY CODE FROM HC05 TO ST7
PDF  9 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN1106 Scheda tecnica(HTML) 6 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
 6 / 9 page
background image
6/9
TRANSLATING ASSEMBLY CODE FROM HC05 TO ST7
4.3 LABELS
In order to be able to see all the labels from the emulator (in the disassembler window, a label
name is more significant than an address), it’s better to declare them all as public (a simple dot
placed before the label name).
For labels which are called from another module, create a .inc file to declare them as “EX-
TERN”:
appli.asm:
st7/
TITLE “appli.asm”
MOTOROLA
; Motorola format (default), other formats are
also available:
; Intel, Zilog or Texas.
#include “appli.inc”
; lib appli.s05
#include “variable.inc”
#include “constant.inc”
#include “ST72251.inc”; this is the map file (see below).
WORDS
segment ‘rom’
; the source code is written in the ROM segment.
; ORG ROM
.main
LD
A,#$10
LD
var2,A
.again DEC
var2
JRNE
again
CLR
X
.go
LD
A,(table,X)
ADD
A,#1
LD
(table,X),A
INC
X
CP
X,#4
JRNE
go
........
.loop
JRA
loop
; Don’t forget to put the interrupt sub-routine library section here even if you
don’t use any interrupts.
END



Html Pages

1 2 3 4 5 6 7 8 9


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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