ATMEGA48V_11 ATMEL [ATMEL Corporation], ATMEGA48V_11 Datasheet - Page 63

no-image

ATMEGA48V_11

Manufacturer Part Number
ATMEGA48V_11
Description
8-bit Atmel Microcontroller with 4/8/16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
2545T–AVR–05/11
When the BOOTRST fuse is unprogrammed, the boot section size set to 2Kbytes and the IVSEL
bit in the MCUCR Register is set before any interrupts are enabled, the most typical and general
program setup for the reset and interrupt vector addresses in Atmel ATmega168 is:
When the BOOTRST fuse is programmed and the boot section size set to 2Kbytes, the most
typical and general program setup for the reset and interrupt vector addresses in ATmega168 is:
When the BOOTRST fuse is programmed, the boot section size set to 2Kbytes and the IVSEL
bit in the MCUCR register is set before any interrupts are enabled, the most typical and general
program setup for the reset and interrupt vector addresses in ATmega168 is:
0x0034
0x0035
0x0036
0x0037
0x0038
Address Labels Code
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
;
.org 0xC02
0x1C02
0x1C04
...
0x1C32
Address Labels Code
.org 0x0002
0x0002
0x0004
...
0x0032
;
.org 0x1C00
0x1C00
0x1C01
0x1C02
0x1C03
0x1C04
0x1C05
...
RESET: ldi
RESET: ldi
...
out
ldi
out
sei
<instr>
out
ldi
out
sei
<instr>
jmp
jmp
...
jmp
jmp
jmp
...
jmp
out
ldi
out
sei
<instr>
...
...
SPH,r16
r16, low(RAMEND)
SPL,r16
r16,high(RAMEND); Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
EXT_INT0
EXT_INT1
...
SPM_RDY
EXT_INT0
EXT_INT1
...
SPM_RDY
r16,high(RAMEND); Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
xxx
xxx
xxx
Comments
; Set Stack Pointer to top of RAM
; Enable interrupts
Comments
; Set Stack Pointer to top of RAM
; Enable interrupts
; IRQ0 Handler
; IRQ1 Handler
;
; Store Program Memory Ready Handler
; IRQ0 Handler
; IRQ1 Handler
;
; Store Program Memory Ready Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
ATmega48/88/168
63

Related parts for ATMEGA48V_11