forked from chic_luke/figasm
32 lines
497 B
ArmAsm
32 lines
497 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
|