'does single step interrupt(01H interrupt) clear TF flag after every instruction?
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
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
