$include	(map.asm)
cseg
	org	startaddr
rst:
	ajmp	init
	org	rst+0bh
int_t0_ov:
	ajmp	isr_t0_ov
init:
$include	(init.asm)
	mov	s_timer1,#time_st1	;start soft timer1
mainloop:
	mov	a,s_timer1
	jnz	mainloop
	mov	s_timer1,#time_st1	;restart soft timer1
	mov	a,port_v
	cpl	a
	mov	port_v,a
	movx	@dptr,a
	sjmp	mainloop
$include	(timer.asm)
	end














