www.pudn.com > iccavr_lib.rar > crtatmegaram.s, change:2003-11-08,size:345b


; make sure to assemble w/ -n flag, e.g. 
; iasavr -n crt... 
 
	.include "area.s" 
	.text 
__start::			; entry point 
	.include "extram.s" 
	USE_ELPM = 0 
	.include "init.s" 
 
; call user main routine 
	call _main 
_exit:: 
	rjmp	_exit 
 
; interrupt vectors. The first entry is the reset vector 
; 
	.area vector(abs) 
	.org 0 
	jmp __start