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

SN8P27411SDG 参数 Datasheet PDF下载

SN8P27411SDG图片预览
型号: SN8P27411SDG
PDF下载: 下载PDF文件 查看货源
内容描述: [ADC, OP-amp, Comparator 8-Bit Micro-Controller]
分类和应用:
文件页数/大小: 136 页 / 3074 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P27411SDG的Datasheet PDF文件第27页浏览型号SN8P27411SDG的Datasheet PDF文件第28页浏览型号SN8P27411SDG的Datasheet PDF文件第29页浏览型号SN8P27411SDG的Datasheet PDF文件第30页浏览型号SN8P27411SDG的Datasheet PDF文件第32页浏览型号SN8P27411SDG的Datasheet PDF文件第33页浏览型号SN8P27411SDG的Datasheet PDF文件第34页浏览型号SN8P27411SDG的Datasheet PDF文件第35页  
SN8P2740 Series  
ADC, OP-amp, Comparator 8-Bit Micro-Controller  
2.3 ADDRESSING MODE  
2.3.1 IMMEDIATE ADDRESSING MODE  
The immediate addressing mode uses an immediate data to set up the location in ACC or specific RAM.  
Example: Move the immediate data 12H to ACC.  
MOV A, #12H ; To set an immediate data 12H into ACC.  
Example: Move the immediate data 12H to R register.  
B0MOV R, #12H ; To set an immediate data 12H into R register.  
Note: In immediate addressing mode application, the specific RAM must be 0x80~0x87 working register.  
2.3.2 DIRECTLY ADDRESSING MODE  
The directly addressing mode moves the content of RAM location in or out of ACC.  
Example: Move 0x12 RAM location data into ACC.  
B0MOV A, 12H  
; To get a content of RAM location 0x12 of bank 0 and save in  
ACC.  
Example: Move ACC data into 0x12 RAM location.  
B0MOV 12H, A  
; To get a content of ACC and save in RAM location 12H of  
bank 0.  
2.3.3 INDIRECTLY ADDRESSING MODE  
The indirectly addressing mode is to access the memory by the data pointer registers (H/L, Y/Z).  
Example: Indirectly addressing mode with @HL register  
B0MOV  
B0MOV  
B0MOV  
H, #0  
L, #12H  
A, @HL  
; To clear H register to access RAM bank 0.  
; To set an immediate data 12H into L register.  
; Use data pointer @HL reads a data from RAM location  
; 012H into ACC.  
Example: Indirectly addressing mode with @YZ register  
B0MOV  
B0MOV  
B0MOV  
Y, #0  
Z, #12H  
A, @YZ  
; 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.  
SONiX TECHNOLOGY CO., LTD  
Page 31  
Version 2.0  
 复制成功!