Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
INT (x86 instruction)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== INT3 == The '''INT3''' instruction is a one-byte-instruction defined for use by [[debugger]]s to temporarily replace an instruction in a running program in order to set a code [[breakpoint]]. The more general '''INT XXh''' instructions are encoded using two bytes. This makes them unsuitable for use in patching instructions (which can be one byte long); see [[SIGTRAP]]. The opcode for INT3 is <code>0xCC</code>, as opposed to the opcode for INT <var>immediate8</var>, which is <code>0xCD <var>immediate8</var></code>. Since the dedicated <code>0xCC</code> opcode has some desired special properties for debugging, which are not shared by the normal two-byte opcode for an INT3, assemblers do not normally generate the generic <code>0xCD 0x03</code> opcode from mnemonics.<ref name="intel-ref" />
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)