I used TC++3.0 to write a program that runs under DOS (compiled in large model), using timer interrupts to process some sampled data. The program basically runs normally, but after interrupts are enabled, some if statements start behaving incorrectly. It clearly does not meet the condition and should jump to the else branch, but the program just keeps executing in sequence without making the judgment. Extremely strange!!! I ask all the experts to point me in the right direction! (Note: when interrupts are not enabled, the if works normally)


