📄 asmfunc.s
字号:
# asmfunc.s - An example of a simple assembly language function.section .datatestdata: .ascii "This is a test message from the asm function\n"datasize: .int 45.section .text.type asmfunc, @function.globl asmfuncasmfunc: pushl %ebp movl %esp, %ebp pushl %ebx movl $4, %eax movl $1, %ebx movl $testdata, %ecx movl datasize, %edx int $0x80 popl %ebx movl %ebp, %esp popl %ebp ret
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -