Search code examples
assemblyx86system-callsinterrupt

What does "int 0x80" mean in assembly code?


Can someone explain what the following assembly code does?

 int 0x80  

Solution

  • It passes control to interrupt vector 0x80

    See http://en.wikipedia.org/wiki/Interrupt_vector

    On Linux, have a look at this: it was used to handle system_call. Of course on another OS this could mean something totally different.