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

SN8P2743SB 参数 Datasheet PDF下载

SN8P2743SB图片预览
型号: SN8P2743SB
PDF下载: 下载PDF文件 查看货源
内容描述: [ADC, OP-amp, Comparator 8-Bit Micro-Controller]
分类和应用:
文件页数/大小: 136 页 / 3074 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P2743SB的Datasheet PDF文件第20页浏览型号SN8P2743SB的Datasheet PDF文件第21页浏览型号SN8P2743SB的Datasheet PDF文件第22页浏览型号SN8P2743SB的Datasheet PDF文件第23页浏览型号SN8P2743SB的Datasheet PDF文件第25页浏览型号SN8P2743SB的Datasheet PDF文件第26页浏览型号SN8P2743SB的Datasheet PDF文件第27页浏览型号SN8P2743SB的Datasheet PDF文件第28页  
SN8P2740 Series  
ADC, OP-amp, Comparator 8-Bit Micro-Controller  
2.2.2 ACCUMULATOR  
The ACC is an 8-bit 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  
; Write a immediate data into ACC.  
MOV  
BUF, A  
A, #0FH  
; Write ACC data from BUF data memory.  
MOV  
A, BUF  
A, BUF  
; or  
B0MOV  
The system doesn‟t store ACC and PFLAG value when interrupt executed. ACC and PFLAG data must be saved to  
other data memories. “PUSH, POPsave and load ACC, PFLAG data into buffers.  
Example: Protect ACC and working registers.  
INT_SERVICE:  
PUSH  
; Save ACC and PFLAG to buffers.  
POP  
; Load ACC and PFLAG from buffers.  
RETI  
; Exit interrupt service vector  
SONiX TECHNOLOGY CO., LTD  
Page 24  
Version 2.0  
 复制成功!