TEXT   27
System calls EAX
Guest on 17th March 2023 01:15:11 PM


  1. System calls
  2. EAX = call number
  3. EBX = arg1 (leftmost in Linux docs)
  4. ECX = arg2
  5. EDX = arg3
  6. ESI = arg4
  7. EDI = arg5
  8. EBP = arg6 (rightmost in Linux docs) EBP is only used on
  9.            kernel 2.4 onwards.
  10. Then use:
  11.   int  0x80
  12.  
  13. The return value (if any) is in EAX.

Raw Paste

Login or Register to edit or fork this paste. It's free.