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

SN8P1604AK 参数 Datasheet PDF下载

SN8P1604AK图片预览
型号: SN8P1604AK
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 94 页 / 531 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P1604AK的Datasheet PDF文件第31页浏览型号SN8P1604AK的Datasheet PDF文件第32页浏览型号SN8P1604AK的Datasheet PDF文件第33页浏览型号SN8P1604AK的Datasheet PDF文件第34页浏览型号SN8P1604AK的Datasheet PDF文件第36页浏览型号SN8P1604AK的Datasheet PDF文件第37页浏览型号SN8P1604AK的Datasheet PDF文件第38页浏览型号SN8P1604AK的Datasheet PDF文件第39页  
SN8P1600  
8-bit micro-controller  
4ADDRESSING MODE  
OVERVIEW  
The SN8P1600 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 table.  
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  
B0MOV  
B0MOV  
Y
; To clear Y register to access 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  
SONiX TECHNOLOGY CO., LTD  
Page 35  
Revision 1.94  
 复制成功!