본문 바로가기

컴퓨터 과학 & 영상처리 관련/Assembly (시스템 소프트웨어)

NASM system call int 명령어

Int 80h
System call 의해 인터랍트 cpu.

 

 

Linux System Call Table

http://bluemaster.iu.hio.no/edu/dark/lin-asm/syscalls.html

 

 

The following table lists the system calls for the Linux 2.2 kernel. It could also be thought of as an API for the interface between user space and kernel space. My motivation for making this table was to make programming in assembly language easier when using only system calls and not the C library (for more information on this topic, go to http://www.linuxassembly.org). On the left are the numbers of the system calls. This number will be put in register %eax. On the right of the table are the types of values to be put into the remaining registers before calling the software interrupt 'int 0x80'. After each syscall, an integer is returned in %eax.

For convenience, the kernel source file where each system call is located is linked to in the column labelled "Source". In order to use the hyperlinks, you must first copy this page to your own machine because the links take you directly to the source code on your system. You must have the kernel source installed (or linked from) under '/usr/src/linux' for this to work.