欢迎访问ic37.com |
会员登录 免费注册
发布采购

SN8P1706P 参数 Datasheet PDF下载

SN8P1706P图片预览
型号: SN8P1706P
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 145 页 / 774 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P1706P的Datasheet PDF文件第44页浏览型号SN8P1706P的Datasheet PDF文件第45页浏览型号SN8P1706P的Datasheet PDF文件第46页浏览型号SN8P1706P的Datasheet PDF文件第47页浏览型号SN8P1706P的Datasheet PDF文件第49页浏览型号SN8P1706P的Datasheet PDF文件第50页浏览型号SN8P1706P的Datasheet PDF文件第51页浏览型号SN8P1706P的Datasheet PDF文件第52页  
SN8P1700  
8-bit micro-controller build-in 12-bit ADC  
TO ACCESS DATA in RAM BANK 0  
In the RAM bank 0, this area memory can be read/written by these three access methods.  
Example 1: To use RAM bank0 dedicate instruction (Such as B0xxx instruction).  
B0MOV  
A, 12H  
; To move content from location 12H of RAM bank 0 to ACC  
Example 2: To use directly addressing mode (Through RBANK register).  
B0MOV  
MOV  
RBANK, #00H  
A, 12H  
; To set RAM bank = 0  
; To move content from location 12H of RAM bank 0 to ACC  
Example 3: To use indirectly addressing mode with @YZ register.  
CLR  
B0MOV  
B0MOV  
Y
; To clear Y register for accessing RAM bank 0.  
; To set an immediate data 12H into Z register.  
; Use data pointer @YZ reads a data from RAM location  
; 012H into ACC.  
Z, #12H  
A, @YZ  
TO ACCESS DATA in RAM BANK 1  
In the RAM bank 1, this area memory can be read/written by these two access methods.  
Example 1: To use directly addressing mode (Through RBANK register).  
B0MOV  
MOV  
RBANK, #01H  
A, 12H  
; To set RAM bank = 1  
; To move content from location 12H of RAM bank 0 to ACC  
Example 2: To use indirectly addressing mode with @YZ register.  
MOV  
A, #01H  
Y, A  
Z, #12H  
A, @YZ  
B0MOV  
B0MOV  
B0MOV  
; To set Y = 1 for accessing RAM bank 1.  
; To set an immediate data 12H into Z register.  
; Use data pointer @YZ reads a data from RAM location  
; 012H into ACC.  
SONiX TECHNOLOGY CO., LTD  
Page 48  
Revision 1.94  
 复制成功!