数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST9 数据表(PDF) 19 Page - STMicroelectronics

部件名 ST9
功能描述  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST9 数据表(HTML) 19 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 15Page - STMicroelectronics ST9 Datasheet HTML 16Page - STMicroelectronics ST9 Datasheet HTML 17Page - STMicroelectronics ST9 Datasheet HTML 18Page - STMicroelectronics ST9 Datasheet HTML 19Page - STMicroelectronics ST9 Datasheet HTML 20Page - STMicroelectronics ST9 Datasheet HTML 21Page - STMicroelectronics ST9 Datasheet HTML 22Page - STMicroelectronics ST9 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 146 page
background image
19/146
ST9 USER GUIDE
inc R19
; increment the same register again
The following table summarizes the use of the srp instruction and its effect in terms of group
selection.
Table 1.
Register Page Number Summary
Notes:
Though it is possible, it normally makes no sense to set the working register group either to
group E (14) or F (15), since the registers in these groups have pre-defined meanings. You can-
not use them to store intermediate values of calculations without greatly affecting the behavior
of the microcontroller in an unpredictable way. However, bit-level instructions are only available
using working register addressing, so when you need to do bit manipulations in these groups,
setting the register pointer to either 28 or 30 is an efficient way of programming when accessing
these two groups.
The srp instruction is the only one you have to use to switch register groups, and is the way
working registers are used in most programs. However, the working register scheme includes
a subtlety that is seldom used, but that could give you even more flexibility in some cases. This
is what is described in the next paragraph.
The same register group number can be selected by an odd or even number. In fact, the for-
mula is:
srp
2*n+1
; for group n
or
srp
2*n
; for group n
Hexadecimal
register
number
Decimal
register
number
Function
Register group
decimal
(hexadecimal)
srp #n
instruction to select a
group to provide r0-r15
F0-FF
240-255
Paged registers
15 (F)
srp #30
E0-EF
224-239
System registers
14 (E)
srp #28
D0-DF
208-223
General
purpose
registers
13 (D)
srp #26
C0-CF
192-207
12 (C)
srp #24
B0-BF
176-191
11 (B)
srp #22
A0-AF
160-175
10 (A)
srp #20
90-9F
144-159
9
srp #18
80-8F
128-143
8
srp #16
70-7F
112-127
7
srp #14
60-6F
96-111
6
srp #12
50-5F
80-95
5
srp #10
40-4F
64-79
4
srp #8
30-3F
48-63
3
srp #6
20-2F
32-47
2
srp #4
10-1F
16-31
1
srp #2
00-0F
00-15
0
srp #0



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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