pentest-distro-builder/filesystem/etc/skel/Templates/prog/assembly.asm
Kaj Forney 52a9131066 Update parrot-build.
Former-commit-id: 94ef9665e63dd09fe4e9f7f6e4afa85d60c9c80a
Former-commit-id: 57ffa6957f9edc0735ac97c86594b1b27d4dbde9
2018-10-17 14:11:16 -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