mirror of
https://github.com/DazzleCatDuo/X86-SOFTWARE-REVERSE-ENGINEERING-CRACKING-AND-COUNTER-MEASURES.git
synced 2025-01-18 13:28:35 +01:00
18 lines
230 B
NASM
18 lines
230 B
NASM
global _start
|
|
|
|
section .text
|
|
_start:
|
|
mov eax, 4 ; write
|
|
mov ebx, 1 ; stdout
|
|
mov ecx, msg
|
|
mov edx, msg.len
|
|
int 0x80
|
|
|
|
mov eax, 1 ; exit
|
|
mov ebx, 0
|
|
int 0x80
|
|
|
|
section .data
|
|
msg: db "Hello, world!", 10
|
|
.len: equ $ - msg
|