Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

ST9 Folha de dados(PDF) 33 Page - STMicroelectronics

Nome de Peças ST9
Descrição Electrónicos  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  STMICROELECTRONICS [STMicroelectronics]
Página de início  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST9 Folha de dados(HTML) 33 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 29Page - STMicroelectronics ST9 Datasheet HTML 30Page - STMicroelectronics ST9 Datasheet HTML 31Page - STMicroelectronics ST9 Datasheet HTML 32Page - STMicroelectronics ST9 Datasheet HTML 33Page - STMicroelectronics ST9 Datasheet HTML 34Page - STMicroelectronics ST9 Datasheet HTML 35Page - STMicroelectronics ST9 Datasheet HTML 36Page - STMicroelectronics ST9 Datasheet HTML 37Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 146 page
background image
33/146
ST9 USER GUIDE
3.3.1 Overview
For a complete description of the instruction set, you should refer to the ST9 Programming
Manual. The aim here is to give you an introduction to the ST9 instruction set and highlight
some of its best features in terms of power and ease of programming.
Most instructions of the ST9 exist in both byte and word forms. That is, they can operate on ei-
ther 8 (byte) or 16-bits (word). The mnemonics of the word-instructions all end with a “w”, as
in the following examples:
The new powerful instructions added to the ST9 are the CALLS, RETS, JPS instructions for
far branching to change the program segment and the instructions used for C language appli-
cations, LINK, LINKU, UNLINK and UNLINKU. Moreover, all instructions have been optimized
compared to Previous ST9.
3.3.1.1 Load Instructions
Beside the classical load instructions found on most microprocessors, there are four special
load instructions for moving data between two locations in memory.
One instruction to move data from data segment to data segment; lddd. This instruction al-
lows you to post-increment the destination and the source index register at the same time. The
ld instruction needs two instructions to do this. An example for moving a block of data would
be:
ld
rr0,#Source
ld
rr2,#Destination
; initialisation of the pointers
ld
r5,#Num_loop
; number of elements to move
loop:
ld
r4,(rr0)+
; transfer of one byte
ld
(rr2)+,r4
djnz
r5,loop
The two ld instructions are coded using 6 bytes and executed in 24 cycles.
The same program with the lddd instruction:
ld
rr0,#Source
ld
rr2,#Destination
; initialisation of the pointers
Load
Add
Subtract
Logical
and
Logical or
Compare
Push
Pop
ld
add
sub
and
or
cp
push
pop
ldw
addw
subw
andw
orw
cpw
pushw
popw



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


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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