.include	"m8def.inc"
.listmac
.include	"macro.asm"
.include	"map.asm"
.cseg
.org	0
reset:
	rjmp	init
init:
.include	"init.asm"
	sei
main_loop:
	rcall	get_adc
	rcall	send
	rcall	get_cmd
	brcc	main_loop
	rcall	make_pk
	rjmp	main_loop
.include	"uart.asm"
.include	"lib.asm"
.include	"adc.asm"