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

X  

SN8A1702AX データシート(PDF) 26 Page - SONiX Technology Company

部品番号 SN8A1702AX
部品情報  8-Bit Micro-Controller
PDF  112 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  SONIX [SONiX Technology Company]
ホームページ  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8A1702AX データシート(HTML) 26 Page - SONiX Technology Company

Back Button SN8A1702AX Datasheet HTML 22Page - SONiX Technology Company SN8A1702AX Datasheet HTML 23Page - SONiX Technology Company SN8A1702AX Datasheet HTML 24Page - SONiX Technology Company SN8A1702AX Datasheet HTML 25Page - SONiX Technology Company SN8A1702AX Datasheet HTML 26Page - SONiX Technology Company SN8A1702AX Datasheet HTML 27Page - SONiX Technology Company SN8A1702AX Datasheet HTML 28Page - SONiX Technology Company SN8A1702AX Datasheet HTML 29Page - SONiX Technology Company SN8A1702AX Datasheet HTML 30Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 26 / 112 page
background image
Preliminary
SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 26
Revision 0.5
WORKING REGISTERS
The locations 82H to 84H of RAM bank 0 in data memory stores the specially defined registers such as register R, Z, Y,
respectively shown in the following table. These registers can use as the general purpose of working buffer and be
used to access ROM’s and RAM’s data. For instance, all of the ROM’s table can be looked-up with R, Y and Z
registers. The data of RAM memory can be indirectly accessed with Y and Z registers.
82H
83H
84H
RAM
R
Z
Y
R/W
R/W
R/W
Y, Z REGISTERS
The Y and Z registers are the 8-bit buffers. There are three major functions of these registers. First, Y and Z registers
can be used as working registers. Second, these two registers can be used as data pointers for @YZ register. Third,
the registers can be address ROM location in order to look-up ROM data.
Y initial value = 0000 0000
084H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Y
YBIT7
YBIT6
YBIT5
YBIT4
YBIT3
YBIT2
YBIT1
YBIT0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Z initial value = 0000 0000
083H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Z
ZBIT7
ZBIT6
ZBIT5
ZBIT4
ZBIT3
ZBIT2
ZBIT1
ZBIT0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
The @YZ that is data point_1 index buffer located at address E7H in RAM bank 0. It employs Y and Z registers to
addressing RAM location in order to read/write data through ACC. The Lower 4-bit of Y register is pointed to RAM bank
number and Z register is pointed to RAM address number, respectively. The higher 4-bit data of Y register is truncated
in RAM indirectly access mode.
Example: If want to read a data from RAM address 25H of bank 1, it can use indirectly addressing mode to
access data as following.
B0MOV
Y, #01H
; To set RAM bank 1 for Y register
B0MOV
Z, #25H
; To set location 25H for Z register
B0MOV
A, @YZ
; To read a data into ACC
Example: Clear general-purpose data memory area of bank 1 using @YZ register.
MOV
A, #1
B0MOV
Y, A
; Y = 1, bank 1
MOV
A, #07FH
B0MOV
Z, A
; Y = 7FH, the last address of the data memory area
CLR_YZ_BUF:
CLR
@YZ
; Clear @YZ to be zero
DECMS
Z
; Y – 1, if Y= 0, finish the routine
JMP
CLR_YZ_BUF
; Not zero
CLR
@YZ
END_CLR:
; End of clear general purpose data memory area of bank 0
Note: Please consult the “LOOK-UP TABLE DESCRIPTION” about Y, Z register look-up table application.



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