;
;	File: Example2.asm
;	This is the second file in the MPASM assembler/MPLINK linker example
;       Use with Example.asm 
;

	list	 p=16f84a
	#include p16f84a.inc

	extern main, service	; These routines are in Example.asm

STARTUP	CODE 			; This area is defined in 16f84a.lkr, 
                                ;  the linker script

	goto main		; Jump to main code defined in Example.asm
	nop			; Pad out so interrupt
	nop			;  service routine gets
	nop			;    put at address 0x0004.
	goto service 		; Points to interrupt service routine

	end
