<b>; display 3 digit BCD number in the A register</b>
display_bcd:
	mov	dptr, #segment_table
	movc	a, @a+dptr
	mov	P1, a
	ret