pentest-distro-builder/filesystem/root/Templates/prog/assembly.asm
Kaj Forney 07fcaebe97 Parrot preseed changes
Former-commit-id: 07271c848c5ee6372f461d7303a49c785d5db8fb
Former-commit-id: f42f1393ead3eb4f41d8b8ad7a019efddfa3ce62
2018-10-17 15:35:13 -06:00

18 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