;Convert Tmp1 from HEX to two ASCII chr. in Tmp1 -high byte and Tmp2 -low byte
hex_asc:
	push	tmp1
	andi	tmp1,0b00001111
	ldi	op1l,$30
	add	tmp1,op1l
	cpi	tmp1,$3a
	brlo	hexasc1
	ldi	op1l,7
	add	tmp1,op1l
hexasc1:
	mov	tmp2,tmp1
	pop	tmp1
	andi	tmp1,0b11110000
	swap	tmp1
	ldi	op1l,$30
	add	tmp1,op1l
	cpi	tmp1,$3a
	brlo	hexasc2
	ldi	op1l,7
	add	tmp1,op1l
hexasc2:
	ret	
