1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
.section .data
Byteconstant_string000:
.byte 0
Byteconstant_string011:
.byte 0
Byteconstant_string022:
.byte 0
Byteconstant_string033:
.byte 0
Byteconstant_string044:
.byte 0
Byteconstant_string055:
.byte 0
Byteconstant_string066:
.byte 0
Byteconstant_string077:
.byte 0
.section .text
.globl _start
_start:
#Begin of program:
# print("EspaƱa\n")
movb $69, Byteconstant_string000
movb $115, Byteconstant_string011
movb $112, Byteconstant_string022
movb $97, Byteconstant_string033
movb $195, Byteconstant_string044
movb $177, Byteconstant_string055
movb $97, Byteconstant_string066
movb $10, Byteconstant_string077
movq $1, %rax
movq $1, %rdi
movq $8, %rdx
movq $Byteconstant_string000, %rsi
syscall
# exit(0)
xorq %rdi, %rdi
movq $60, %rax
syscall
#End of program
|