.include	"8535def.inc"
.include	"map.asm"
.cseg
.org	0
reset:
	rjmp	init
init:
.include	"init.asm"
	sei
main_loop:
	rcall	get_adc
	rcall	get_cmd
	brcc	main_loop
	rcall	exec_cmd	
	rjmp	main_loop
.include	"uart.asm"
.include	"lib.asm"
.include	"adc.asm"