⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fun.asm

📁 unix环境下实现的cmm语言编译器
💻 ASM
字号:
section .textglobal sumsum:push ebxpush edxpush ecxpush esipush edipush ebpmov ebp,espmov edi, dword [ebp+28]mov esi, dword [ebp+32]mov eax, ediadd eax, esijmp L1L1:mov esp,ebppop ebppop edipop esipop ecxpop edxpop ebxretglobal mainmain:push ebxpush edxpush ecxpush esipush edipush ebpmov ebp,espmov edi, 1mov esi, 2push esipush edicall sumadd esp, 8sub esp, 4mov dword [ebp + -4], eaxpush esipush edicall sumadd esp, 8push eaxpush edicall sumadd esp, 8mov ecx, dword [ebp+-4]mov edx, ecxadd edx, eaxmov ebx, edxadd esp, 4push ebxpush L3call printfadd esp, 8push esipush edicall sumadd esp, 8push eaxpush L3call printfadd esp, 8mov eax,0jmp L2L2:mov esp,ebppop ebppop edipop esipop ecxpop edxpop ebxretextern printfsection .dataalign 1L3:db 115db 117db 109db 32db 61db 32db 37db 100db 10db 0

⌨️ 快捷键说明

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