pentest-distro-builder/filesystem/etc/skel/Templates/prog/assembly.asm
Kaj Forney a6d12f1ffc Move stuff to /etc/skel
Former-commit-id: 7bddceacd727c25153cd0ec03cf8b0d4011484d5
Former-commit-id: aaf57e63c1976b3960fee717c68c3b09dc1a94ff
2018-10-18 13:47:28 -06:00

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