nasm汇编语言宏操作示例代码
代码语言:assembly
代码描述:nasm汇编语言宏操作示例代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
; A macro with two parameters ; Implements the write system call %macro write_string 2 mov eax, 4 mov ebx, 1 mov ecx, %1 mov edx, %2 int 80h %endmacro section .text global _start ;must be declared for using gcc _start: ;tell linker entry point write_string msg1, len1 write.........完整代码请登录后点击上方下载按钮下载查看
网友评论0