/
spirzen
/
it-code-examples
Обзор
Документация
Войти
/
spirzen
/
it-code-examples
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
examples/assembler/assembler-516-7-001/main.asm
20 строк
489 B
Spirzen
Code migration pack
09 июн 2026, 01:41
09 июн 2026, 01:41
cebc284
Код
Авторство
О чём код?
; NASM, Windows 32-bit, stdcall, точка входа _start section .data msg db 'Hello, World!', 0 caption db 'My First ASM Program', 0 section .text global _start extern _MessageBoxA@16 extern _ExitProcess@4 _start: ; MessageBoxA(hWnd, lpText, lpCaption, uType) push 0 ; uType = MB_OK push caption push msg push 0 ; hWnd = NULL call _MessageBoxA@16 push 0 ; exit code call _ExitProcess@4