データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

ST9 データシート(PDF) 16 Page - STMicroelectronics

部品番号 ST9
部品情報  USER GUIDE
PDF  146 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST9 データシート(HTML) 16 Page - STMicroelectronics

Back Button ST9 Datasheet HTML 12Page - STMicroelectronics ST9 Datasheet HTML 13Page - STMicroelectronics ST9 Datasheet HTML 14Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 146 page
background image
16/146
ST9 USER GUIDE
3.1.4 Working Registers
To further improve coding efficiency, a special mechanism has been created: the concept of
working registers. This reduces to just 16 bytes the register space accessible by the instruc-
tions in the so-called working register addressing mode. Only four bits are required to address
this space, allowing both the source and the destination of a data move to be coded in a single
byte, thus saving both code size and execution time.
256 registers, when split into groups of 16, give 16 groups. The group used is indicated in a
special register, called the Working Register Pointer. The register address is made up of the
group number and the register address within the group, as follows:
Figure 6
. Register Group Addressing Scheme
3.1.5 Peripheral Register Pages
All internal peripherals are mapped into the register space. Most of them have a multitude of
features and can be configured in different ways. This implies that they have a large number
of registers. Since only the last group of 16 registers is allocated for peripherals, a special
scheme must be used to overcome this problem. It is called paging. The last group of registers
actually addresses one pack of sixteen registers that belongs to the peripheral itself. Which
pack of which peripheral depends on the value of a register called the Page Pointer Register.
There can be as many as 64 different pages, providing plenty of space for accessing periph-
erals.
Here are more details on these two mechanisms.
3.1.6 Working Registers and Register Pointers
The working registers offer a workspace of 16 bytes. This is sufficient for most applications,
and much more convenient than a single accumulator. However, in some applications, this is
still not enough. In this case you can easily allocate more than one register group to a partic-
ular program module. Since any register can be accessed directly, it is up to you to decide
whether you want to switch working register groups or not to access the other groups of reg-
isters.
Since changing the current group involves only one instruction, the concept of working regis-
ters can greatly reduce context switching time, for example in the case of an interrupt service
7
6
5
4
3
2
1
0
Register Address
Group Number
(16 Register Groups)
Register Number
within Group Number



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


リンク URL



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