figasm/figa.s

32 lines
497 B
ArmAsm
Raw Normal View History

2020-07-01 00:22:49 +02:00
.section .data
schifo:
2020-07-01 00:34:42 +02:00
.ascii "Che schifo la figa.\n"
2020-07-01 00:22:49 +02:00
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