Abstract
The authors describe a knowledge based system based on IBM PC compatibles, designed to assist engineers without detailed knowledge about microprocessors and associated peripherals, to debug microprocessor based systems. To debug the non-kernel faults a ROM emulator is designed which makes use of the system ROM (may be monitor) space to run the test routines using the target CPU itself. To debug the kernel faults a KDM (Kernel Debugging Module) is designed. The expert system (KBAT) decides which module to be used for troubleshooting the problem and prompts the user to connect that module. Then the system runs the particular test, suggest course and further action. The expert system was written using Leanardo expert system shell.<>