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

ATMEGA8-16AI 参数 Datasheet PDF下载

ATMEGA8-16AI图片预览
型号: ATMEGA8-16AI
PDF下载: 下载PDF文件 查看货源
内容描述: 位的AVR微控制器8K字节在 - 系统内可编程Flash [-bit AVR Microcontroller with 8K Bytes In- System Programmable Flash]
分类和应用: 微控制器
文件页数/大小: 303 页 / 5122 K
品牌: ATMEL [ ATMEL ]
 浏览型号ATMEGA8-16AI的Datasheet PDF文件第42页浏览型号ATMEGA8-16AI的Datasheet PDF文件第43页浏览型号ATMEGA8-16AI的Datasheet PDF文件第44页浏览型号ATMEGA8-16AI的Datasheet PDF文件第45页浏览型号ATMEGA8-16AI的Datasheet PDF文件第47页浏览型号ATMEGA8-16AI的Datasheet PDF文件第48页浏览型号ATMEGA8-16AI的Datasheet PDF文件第49页浏览型号ATMEGA8-16AI的Datasheet PDF文件第50页  
When the BOOTRST Fuse is unprogrammed, the boot section size set to 2K bytes and  
the IVSEL bit in the GICR Register is set before any interrupts are enabled, the most  
typical and general program setup for the Reset and Interrupt Vector Addresses is:  
AddressLabelsCode  
Comments  
$000  
;
rjmp  
RESET  
; Reset handler  
$001  
$002  
$003  
$004  
$005  
$006  
;
RESET:ldi  
r16,high(RAMEND); Main program start  
out  
ldi  
out  
sei  
SPH,r16  
; Set Stack Pointer to top of RAM  
r16,low(RAMEND)  
SPL,r16  
; Enable interrupts  
<instr> xxx  
.org $c01  
$c01  
$c02  
...  
rjmp  
rjmp  
...  
EXT_INT0  
; IRQ0 Handler  
; IRQ1 Handler  
EXT_INT1  
...;  
$c12  
rjmp  
SPM_RDY  
; Store Program Memory Ready  
Handler  
When the BOOTRST Fuse is programmed and the boot section size set to 2K bytes, the  
most typical and general program setup for the Reset and Interrupt Vector Addresses is:  
AddressLabelsCode  
Comments  
.org $001  
$001  
$002  
...  
rjmp  
rjmp  
...  
EXT_INT0  
EXT_INT1  
...  
; IRQ0 Handler  
; IRQ1 Handler  
;
$012  
rjmp  
SPM_RDY  
; Store Program Memory Ready  
Handler  
;
.org $c00  
$c00  
;
rjmp  
RESET  
; Reset handler  
$c01  
$c02  
$c03  
$c04  
$c05  
$c06  
RESET:ldi  
r16,high(RAMEND); Main program start  
out  
ldi  
out  
sei  
SPH,r16  
; Set Stack Pointer to top of RAM  
r16,low(RAMEND)  
SPL,r16  
; Enable interrupts  
<instr> xxx  
46  
ATmega8(L)  
2486M–AVR–12/03  
 复制成功!