/* Checks to see if the address pointed to is either a 16-bit CALL instruction, or a 32-bit CALL instruction  */
static bool is_bfin_call(unsigned short *addr)
/* Checks to see if the address pointed to is either a 16-bit CALL instruction, or a 32-bit CALL instruction  */
static bool is_bfin_call(unsigned short *addr)
{
	unsigned short opcode = 0, *ins_addr;
	ins_addr = (unsigned short *)addr;
	if (!get_instruction(&opcode, ins_addr))
		return false;
	if ((opcode >= 0x0060 && opcode <= 0x0067) ||
	    (opcode >= 0x0070 && opcode <= 0x0077))
		return true;
	ins_addr--;
	if (!get_instruction(&opcode, ins_addr))
		return false;
	if (opcode >= 0xE300 && opcode <= 0xE3FF)
		return true;
	return false;
}