figasm64/figa.s
2020-07-01 00:22:49 +02:00

32 lines
496 B
ArmAsm

.section .data
schifo:
.ascii "Che schifo la figa\n"
schifo_len:
.long . - schifo
meglio:
.ascii "Meglio Linux!\n"
meglio_len:
.long . - meglio
.section .text
.global _start
_start:
movl $4, %eax
movl $1, %ebx
leal schifo, %ecx
movl schifo_len, %edx
int $0x80
movl $4, %eax
movl $1, %ebx
leal meglio, %ecx
movl meglio_len, %edx
int $0x80
movl $1, %eax
xorl %ebx, %ebx
int $0x80