pentest-distro-builder/filesystem/etc/skel/Templates/prog/assembly.asm

17 lines
239 B
NASM

global _start
section .text
_start:
mov eax, 0x4
mov ebx, 0x1
mov ecx, message
mov edx, 0xF
int 0x80
mov eax, 0x1
mov ebx, 0x0
int 0x80
section .data
message: db "give me a bottle of rum!", 0dh, 0ah