11 2010 档案

摘要:使用GCC和NASM在Linux下联合编译 今天使用nasm和gcc一起编译了一个程序先使用nasm编译一个asm文件为elf格式,汇编文件里面有全局global的_start和functionC,将来连接的时候用。其中还有extern用来表示外部C语言中的函数。我的程序的调用结构: _start(ASM)->funB(C)->funC(ASM)其中 ASM文件中:extern funB、global _start、global funCC文件中声明:void funC();函数参数的传递:使用push来传递地址,而不是数值。最后参数的清理需要caller来自己解决。 需... 阅读全文
posted @ 2010-11-24 00:27 绿色冰点 阅读(3382) 评论(0) 推荐(0) 编辑
摘要:If you have Fedora and an nVidia graphics card, chances are you’ll want to use kmod-nvidia as your graphics driver. It is closed-source, but produced by nVidia themselves and has several advantages over the default open-source drivers that are typically bundled with most distributions – for example, 阅读全文
posted @ 2010-11-19 13:00 绿色冰点 阅读(1247) 评论(0) 推荐(0) 编辑