Talk:INT (x86 instruction)
From Wikipedia, the free encyclopedia
I have no idea what INT(3) does. That is, if you use the "INT <immediate>" form of the INT instruction, and you supply a "3" as the numeric operand, then what is the mnemonic for that instruction? Is the two-byte "INT 3" defined to have the same semantics as the one-byte INT 3?
- The opcode for INT 3 is 0xCC, as opposite from the opcode for INT immediate, which is 0xCD imm8. According to Intel documentation: "Intel and Microsoft assemblers will not generate the CD03 opcode from any mnemonic" and 0xCC has some special features, which are not shared by "the normal 2-byte opcode for INT 3 (CD03)"..
- IA-32 Intel® Architecture Software Developer’s Manual. Volume 2A (Instruction Set Reference, A-M). Order no. 253666.