Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SN8A1702AX Datasheet(PDF) 28 Page - SONiX Technology Company

Part # SN8A1702AX
Description  8-Bit Micro-Controller
PDF  112 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SONIX [SONiX Technology Company]
Direct Link  http://www.sonix.com.tw
Logo SONIX - SONiX Technology Company

SN8A1702AX Datasheet(HTML) 28 Page - SONiX Technology Company

Back Button 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 SN8A1702AX Datasheet HTML 31Page - SONiX Technology Company SN8A1702AX Datasheet HTML 32Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 112 page
background image
Preliminary
SN8P1702A/SN8P1703A
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 28
Revision 0.5
ACCUMULATOR
The ACC is an 8-bits data register responsible for transferring or manipulating data between ALU and data memory. If
the result of operating is zero (Z) or there is carry (C or DC) occurrence, then these flags will be set to PFLAG register.
ACC is not in data memory (RAM), so ACC can’t be access by “B0MOV” instruction during the instant addressing
mode.
Example: Read and write ACC value.
; Read ACC data and store in BUF data memory
MOV
BUF, A
.
.
; Write a immediate data into ACC
MOV
A, #0FH
.
.
; Write ACC data from BUF data memory
MOV
A, BUF
.
.
The system doesn’t store ACC and PFLAG value as any interrupt service executed. ACC must be exchanged to
another data memory defined by users. Thus, once interrupt occurs, these data must be stored in the data memory
based on the user’s program as follows.
Example: ACC and working registers protection.
ACCBUF
EQU
00H
; ACCBUF is ACC data buffer in bank 0.
INT_SERVICE:
B0XCH
A, ACCBUF
; B0XCH doesn’t change C, Z flag
B0XCH
A, ACCBUF
; Store ACC value
B0MOV
A, PFLAG
; Store PFLAG value
B0MOV
PFLAGBUF,A
.
B0MOV
A, PFLAGBUF
; Re-load PFLAG value
B0MOV
PFLAG,A
B0XCH
A, ACCBUF
; Re-load ACC
B0XCH
A, ACCBUF
; Re-load ACC
RETI
; Exit interrupt service vector
Notice: To save and re-load ACC data must be used “B0XCH” instruction, or the PLAGE value maybe
modified by ACC.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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