Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

PM0044 Fiches technique(PDF) 43 Page - STMicroelectronics

No de pièce PM0044
Description  STM8 CPU programming manual
PDF  162 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0044 Fiches technique(HTML) 43 Page - STMicroelectronics

Back Button PM0044 Datasheet HTML 39Page - STMicroelectronics PM0044 Datasheet HTML 40Page - STMicroelectronics PM0044 Datasheet HTML 41Page - STMicroelectronics PM0044 Datasheet HTML 42Page - STMicroelectronics PM0044 Datasheet HTML 43Page - STMicroelectronics PM0044 Datasheet HTML 44Page - STMicroelectronics PM0044 Datasheet HTML 45Page - STMicroelectronics PM0044 Datasheet HTML 46Page - STMicroelectronics PM0044 Datasheet HTML 47Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 162 page
background image
PM0044
STM8 addressing modes
Doc ID 13590 Rev 3
43/162
6.4.4
Long Indexed addressing mode
The offset is a word, thus allowing up to 128 KB addressing space, but requires 2 bytes after
the op-code.
Example:
Figure 14.
Long Indexed - 16-bit offset - addressing mode example
0690
AE02
LD
X,#2
0692
D6077E
LD
A,(table,X)
077E
BF
table
dc.b
$BF
86
dc.b
$86
DBCF
dc.w $DBCF
Action:
X = 2
A = (table, X) = ($077E, X) = ($077E, 2) = ($0780) = $DB
0692
02
PC
X
Steps to Determine
Effective Address
PC = 0692
PC = PC + 1 = 0693
EA = (PC):(PC+1) + X
Before completion
Instruction Complete
A = (EA) = DB
New PC = PC + 2 = 0695
After Completion
0780
Previous Value
A
X
02
0695
A
DB
D6
07
7E
86
DB
Adder
EA
table . byte BF
BF
CF
= 077E + 02 = 0780
D6
07
7E
86
DB
table . byte BF
BF
CF
New PC
LD A, (table, X)
LD A, (table, X)
0693
0694
077F
0780
0781
0694
077E
077F
0780
0781
0693
0695
0692
0692
077E
VR02059E
077E
02



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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