flat assembler
Message board for the users of flat assembler.

Index > OS Construction > How really works Single-Stepping?

Author
Thread Post new topic Reply to topic
MAD_DËMON



Joined: 03 Mar 2006
Posts: 23
MAD_DËMON 11 Mar 2006, 02:46
i don't know well when Single-Stepping is enabled (FLAGS.TF=1) if the Interrupt 01 is triggered after or before an instruction completes.
in AMD system programming manuals says that the instructions INTx INTO and INT3 clean the Trap Flag, then this mean that these instructions cannot be traced by Single-Stepping?

_________________
Tah rah rah boom de ay, I blew some guy away, his brains turned into spray, I was paid well that day
Post 11 Mar 2006, 02:46
View user's profile Send private message Visit poster's website Reply with quote
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio 11 Mar 2006, 12:04
MAD_DËMON wrote:
i don't know well when Single-Stepping is enabled (FLAGS.TF=1) if the Interrupt 01 is triggered after or before an instruction completes.
in AMD system programming manuals says that the instructions INTx INTO and INT3 clean the Trap Flag, then this mean that these instructions cannot be traced by Single-Stepping?

the Interrupt 01 is triggered after an instruction completes.
To trace interrupts the INTX is emulated by some debuggers.
Post 11 Mar 2006, 12:04
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.