nasm - 汇编语言介绍

时间:2013-03-17 15:04:24

标签: windows assembly x86 nasm

我正在尝试在业余时间学习汇编语言,以帮助我成为使用高级语言的开发人员。

我在这里遵循了NASM教程:http://leto.net/writing/nasm.php

我能够创建并运行一个将HelloWorld打印到屏幕的简单程序。我对以上链接中的以下段落感到困惑:

mov eax,5       ; the syscall number for open()

So where do find out all of the semantics for all of the various system calls?
Well first, the numbers are listed in asm/unistd.h in Linux, and  sys/syscall.h
in the *BSD's

我认为这意味着:如果eax寄存器中有5,那么它是一个打开的系统调用。其余的系统调用是否记录在某处?

我在Windows 7 PC上使用NASM。

1 个答案:

答案 0 :(得分:1)