does single step interrupt(01H interrupt) clear TF flag after every instruction?

225 views Asked by At

i want to use single step interrupt and i understand that for make this interrupt work for every instruction the TF flag should be 1 (TF=1). and in my code i see single step interrupt work but after some instructions(maybe after every output) it stop and i should make TF=1 again to continue code and continue display outputs). does that mean after every instruction or after special instructions cause TF=0 again ? this code i used to set TF=1

 asm{
            PUSHF 
            MOV BP,SP  
            OR WORD PTR[BP+0],0100H 
            POPF  
        }
0

There are 0 answers