this post was submitted on 21 May 2024
1589 points (98.9% liked)

Programmer Humor

31224 readers
50 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 month ago (1 children)

return from subroutine, int3 would be something relating to interrupts off the top of my head.

[โ€“] [email protected] 3 points 1 month ago

Int3 is a special single-byte (CC, if I recall correctly) form of the INT instruction (which is CD imm8, I think) to raise an interrupt. Interrupt #3 is the debugging interrupt, so by overwriting any instruction with CC, you place a breakpoint there.