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

X  

ST9291 数据表(PDF) 13 Page - STMicroelectronics

部件名 ST9291
功能描述  16-48K ROM HCMOS MCU WITH ON SCREEN DISPLAY AND VOLTAGE TUNINGOUTPUT
PDF  20 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST9291 数据表(HTML) 13 Page - STMicroelectronics

Back Button ST9291 Datasheet HTML 9Page - STMicroelectronics ST9291 Datasheet HTML 10Page - STMicroelectronics ST9291 Datasheet HTML 11Page - STMicroelectronics ST9291 Datasheet HTML 12Page - STMicroelectronics ST9291 Datasheet HTML 13Page - STMicroelectronics ST9291 Datasheet HTML 14Page - STMicroelectronics ST9291 Datasheet HTML 15Page - STMicroelectronics ST9291 Datasheet HTML 16Page - STMicroelectronics ST9291 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 20 page
background image
1.1.3.3 Register Pointing Techniques
Two registers, R232 and R233, within the system
register group, are available for register pointing.
R232 and R233 may be used together as a single
pointer for a 16 register working space or sepa-
rately for two 8 register spaces, in which case
R232 becomes Register Pointer 0 (RP0) and R233
becomes Register Pointer 1 (RP1).
The instructions srp, srp0 and srp1 (the Set
Register Pointer instructions) automatically inform
the ST9 whether the Register File is to operate with
a single 16-register group or two 8-register groups.
The srp0 and srp1 instructions automatically set
the twin 8-register group mode while the srp in-
struction sets the single 16-register group mode.
There is no limitation on the order or positions of
these chosen register groups other than they must
be on 8 or 16 register boundaries.
The addressing of working registers involves use of
the Register Pointer value plus an offset value given
by the number of the addressed working register.
When addressing a register, the most significant
nibble (bits 4-7) gives the group address and the
least significant nibble (bits 0-3) gives the register
within that group.
REGISTER POINTER 0
RP0 R232 (E8h) System Read/Write
Register Pointer 0
Reset Value : undefined
70
RG7 RG6 RG5 RG4 RG3 RPS
D1
D0
b7-b3 = RG7-RG3:
Register Group number. These
bits contain the number (from 0 to 31) of the group
of working registers indicated in the instructions
srp0
or srp. When using a 16-register group, a
number between 0 and 31 must be used in the srp
instruction indicating one of the two adjacent 8-reg-
ister group of working registers used. RG7 is the
MSB.
b2 = RPS:
Register Pointer Selector. This bit is set
by the instructions srp0 and srp1 to indicate that a
double register pointing mode is used. Otherwise,
the instruction srp resets the RPS bit to zero to indi-
cate that a single register pointing mode is used.
b1,b0 = D1,D0: These bits are fixed by hardware to
zero and are not affected by any writing instruction
trying to modify their value.
REGISTER POINTER 1
RP1 R233 (E9h) System Read/Write
Register Pointer 1
Reset Value : undefined
70
RG7 RG6 RG5 RG4 RG3 RPS
D1
D0
This register is used only with double register
pointing mode; otherwise, using single register
pointing mode, the RP1R register has to be consid-
ered as reserved and not usable as a general pur-
pose register.
b7-b3 = RG7-RG3:
Register Group number. These
bits contain the number (from 0 to 31) of the group
of 8 working registers indicated in the instructions
srp1. Bit 7 is the MSB.
b2 = RPS:
Register Pointer Selector. This bit is
automatically set by the instructions srp0 and
srp1
to indicate that a double register pointing
mode is used. Otherwise the instruction srp reset
the RPS bit to zero to indicate that a single register
pointing mode is used.
b1,b0 = D1,D0: These bits are hardware fixed to
zero and are not affected by any writing instruction
trying to modify their value.
Note. If working in twin 8-register group mode but
only using srp0 (i.e. only using one 8-register
group) the unused register (R233) is to be consid-
ered as reserved and not usable as a general pur-
pose register.
The group of registers immediately below the sys-
tem registers (i.e. group D, R208-R223) can only
be accessed via the Register Pointers. To address
group D then, it is necessary to set the Register
Pointer to group D and then use the addressing
procedure for working registers. The programmer
is required to remember that the group D should be
used as a stacking area. This point is also covered
in the Stack Pointers paragraph.
SYSTEM REGISTERS (Continued)
®
ST9291
13/20



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


数据表 下载

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