skel.asm

来自「关于linux环境下的nasm代码的生成和使用」· 汇编 代码 · 共 39 行

ASM
39
字号
;; file: skel.asm; This file is a skeleton that can be used to start assembly programs.%include "asm_io.inc"segment .data;; initialized data is put in the data segment here;segment .bss;; uninitialized data is put in the bss segment; segment .text        global  asm_mainasm_main:        enter   0,0               ; setup routine        pusha;; code is put in the text segment. Do not modify the code before; or after this comment.;        popa        mov     eax, 0            ; return back to C        leave                             ret

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?