Δημοσιεύτηκε: 01 Ιούλ 2011, 01:55
από Star_Light
Κώδικας: Επιλογή όλων

kostas@kostas-SSL:~/PROGRAMS$ gcc -S oeo.c -o oeo
kostas@kostas-SSL:~/PROGRAMS$ ls
a.out first module2 socket system_calls third.c
arxeio first.c module2.c socket2 system_calls.c
arxeio2 four module.c socket2.c test2
arxeio2.c four.c module.h socket.c test2.c
arxeio.c led oeo sundedemeni_lista2 test.txt
crc.c led.h oeo.c sundedemeni_lista2.c third
kostas@kostas-SSL:~/PROGRAMS$ cat oeo
.file "oeo.c"
.section .rodata
.LC0:
.string "!!!Hello World!!!"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
movq %rsp, %rbp
.cfi_offset 6, -16
.cfi_def_cfa_register 6
movl $.LC0, %edi
call puts
movl $0, %eax
leave
ret
.cfi_endproc
.LFE0:
.size main, .-main
.ident "GCC: (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5"
.section .note.GNU-stack,"",@progbits
kostas@kostas-SSL:~/PROGRAMS$


WoW .... ευχαριστω!!!!!! Απλα ηθελε και μια cat!

Κώδικας: Επιλογή όλων

kostas@kostas-SSL:~/PROGRAMS$ file oeo
oeo: ASCII assembler program text


ASCII assembler program text! Καλη φαση