3 ms·
0xCC is a special opcode for the assembly instruction "INT 3" (trigger interrupt number 3), for exactly this use case of providing an 1-byte opcode for debugger
by detaro 10y ago
0xCC is a special opcode for the assembly instruction "INT 3" (trigger interrupt number 3), for exactly this use case of providing an 1-byte opcode for debuggers.
The general encoding for "INT <X>" is 0xCD <X>
- bogomipz 10y agoThanks, that makes perfect sense, I don't know why I was thinking as a literal value. Cheers.