nasm汇编语言编写一个写入文件的代码

代码语言:assembly

所属分类:

代码描述:nasm汇编语言编写一个写入文件的代码

代码标签: 写入 文件

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

section	.text
   global _start         ;must be declared for using gcc
	
_start:                  ;tell linker entry point
   ;create the file
   mov  eax, 8
   mov  ebx, file_name
   mov  ecx, 0777        ;read, write and execute by all
   int  0x80             ;call.........完整代码请登录后点击上方下载按钮下载查看

网友评论0