• Kevin
    link
    fedilink
    arrow-up
    2
    ·
    6 months ago

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

    • mormegil
      link
      fedilink
      arrow-up
      3
      ·
      6 months 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.