;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 2.8.2 #5195 (Jul 13 2008) (UNIX)
; This file was generated Tue Sep  9 07:12:53 2008
;--------------------------------------------------------
; PIC16 port for the Microchip 16-bit core micros
;--------------------------------------------------------
	list	p=18f2520

	radix dec

;--------------------------------------------------------
; public variables in this module
;--------------------------------------------------------
	global __entry
	global __startup

;--------------------------------------------------------
; extern variables in this module
;--------------------------------------------------------
	extern _stack
	extern _stack_end
	extern _TBLPTRU
	extern _main

;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
; ; Starting pCode block
S_crt0___entry	code	0X000000
__entry:
	goto __startup 
; I code from now on!
; ; Starting pCode block
S_crt0___startup	code
__startup:
	lfsr 1, _stack_end
	lfsr 2, _stack_end
	clrf _TBLPTRU, 0
	bsf 0xa6, 7, 0
	bcf 0xa6, 6, 0
	
;	.line	70; crt0.c	main();
	CALL	_main
_00110_DS_:
;	.line	74; crt0.c	goto loop;
	BRA	_00110_DS_


; Statistics:
; code size:	   20 (0x0014) bytes ( 0.02%)
;           	   10 (0x000a) words
; udata size:	    0 (0x0000) bytes ( 0.00%)
; access size:	    0 (0x0000) bytes


	end
