Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SN8A1702AX Datasheet(PDF) 47 Page - SONiX Technology Company

Part # SN8A1702AX
Description  8-Bit Micro-Controller
PDF  145 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) 47 Page - SONiX Technology Company

Back Button SN8A1702AX Datasheet HTML 43Page - SONiX Technology Company SN8A1702AX Datasheet HTML 44Page - SONiX Technology Company SN8A1702AX Datasheet HTML 45Page - SONiX Technology Company SN8A1702AX Datasheet HTML 46Page - SONiX Technology Company SN8A1702AX Datasheet HTML 47Page - SONiX Technology Company SN8A1702AX Datasheet HTML 48Page - SONiX Technology Company SN8A1702AX Datasheet HTML 49Page - SONiX Technology Company SN8A1702AX Datasheet HTML 50Page - SONiX Technology Company SN8A1702AX Datasheet HTML 51Page - SONiX Technology Company Next Button
Zoom Inzoom in Zoom Outzoom out
 47 / 145 page
background image
SN8P1700
8-bit micro-controller build-in 12-bit ADC
SONiX TECHNOLOGY CO., LTD
Page 47
Revision 1.94
4
4
4 ADDRESSING MODE
OVERVIEW
The SN8P1700 provides three addressing modes to access RAM data, including immediate addressing mode, directly
addressing mode and indirectly address mode. The main purpose of the three different modes is described in the
following:
IMMEDIATE ADDRESSING MODE
The immediate addressing mode uses an immediate data to set up the location (MOV A, #I,
B0MOV M,#I) in ACC or
specific RAM.
Immediate addressing mode
MOV
A, #12H
; To set an immediate data 12H into ACC
DIRECTLY ADDRESSING MODE
The directly addressing mode uses address number to access memory location (MOV A,12H,
MOV 12H,A).
Directly addressing mode
B0MOV
A, 12H
; To get a content of location 12H of bank 0 and save in ACC
INDIRECTLY ADDRESSING MODE
The indirectly addressing mode is to set up an address in data pointer registers (Y/Z) and uses MOV instruction to
read/write data between ACC and @YZ register (MOV A,@YZ,
MOV @YZ,A).
Example: Indirectly addressing mode with @YZ register
CLR
Y
; To clear Y register to access RAM bank 0.
B0MOV
Z, #12H
; To set an immediate data 12H into Z register.
B0MOV
A, @YZ
; Use data pointer @YZ reads a data from RAM location
; 012H into ACC.
MOV
A, #01H
B0MOV
Y, A
; To set Y = 1 for accessing RAM bank 1.
B0MOV
Z, #12H
; To set an immediate data 12H into Z register.
B0MOV
A, @YZ
; Use data pointer @YZ reads a data from RAM location
; 012H into ACC.
MOV
A, #0FH
B0MOV
Y, A
; To set Y = 15 for accessing RAM bank 15.
B0MOV
Z, #12H
; To set an immediate data 12H into Z register.
B0MOV
A, @YZ
; Use data pointer @YZ reads a data from RAM location 012H
; Into 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