Parameterized embedded in-circuit emulator and its retargetable debugging software for microprocessor/microcontroller/DSP proces