def exception_hap(data, cpu, exception):
    if exception == 33:
        print "Illegal instruction exception"
        SIM_break_simulation("Illegal instruction")
    elif exception == 35:
        break_instruction()
    return 0