Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

SN8P1602AX Datenblatt(PDF) 25 Page - SONiX Technology Company

Teilenummer SN8P1602AX
Bauteilbeschribung  8-Bit Micro-Controller
PDF  94 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  SONIX [SONiX Technology Company]
Direct Link  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8P1602AX Datenblatt(HTML) 25 Page - SONiX Technology Company

Back Button SN8P1602AX Datasheet HTML 21Page - SONiX Technology Company SN8P1602AX Datasheet HTML 22Page - SONiX Technology Company SN8P1602AX Datasheet HTML 23Page - SONiX Technology Company SN8P1602AX Datasheet HTML 24Page - SONiX Technology Company SN8P1602AX Datasheet HTML 25Page - SONiX Technology Company SN8P1602AX Datasheet HTML 26Page - SONiX Technology Company SN8P1602AX Datasheet HTML 27Page - SONiX Technology Company SN8P1602AX Datasheet HTML 28Page - SONiX Technology Company SN8P1602AX Datasheet HTML 29Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 94 page
background image
SN8P1600
8-bit micro-controller
SONiX TECHNOLOGY CO., LTD
Page 25
Revision 1.94
WORKING REGISTERS
The RAM bank0 locations 82H to 84H store the specially defined registers such as register R, Y, Z, respectively shown
in the following table. These registers can use as the general-purpose working buffer or access ROM’s and RAM’s
data. For instance, all of the ROM table can be looked-up by R, Y and Z registers. The data of RAM memory can be
indirectly accessed with Y and Z registers.
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 address ROM location to look up ROM data.
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
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
After reset
0
0
0
0
0
0
0
0
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
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
After reset
0
0
0
0
0
0
0
0
The @YZ that is data point_1 index buffer located at address 0E7H in RAM bank 0. It employs Y and Z registers to
addressing RAM location to read/write data through ACC. The Lower 4-bit of Y register points to RAM bank number
and Z register to RAM address number, respectively. The higher 4-bit data of Y register is truncated in RAM indirectly
access mode.
Example: Following example uses indirectly addressing mode to access data in the RAM address 025H of
bank0.
B0MOV
Y, #00H
; To set RAM bank 0 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 0 using @YZ register.
B0MOV
Y, #0
; Y = 0, bank 0
B0MOV
Z, #07FH
; Z = 7FH, the last address of the data memory area
CLR_YZ_BUF:
CLR
@YZ
; Clear @YZ to be zero
DECMS
Z
; Z – 1, if Z= 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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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