○gccでアセンブラを出力しそれを実行ファイルにする ■元になるソースコード ▽ファイル名 : test.c #include <stdio.h> main(){ while(1){ char buff[1024]; scanf("%s",buff); printf("%s HELLO \n",buff); } } ■アセンブラファイルを出力する gcc -S test.c ▽生成されたファイル名 : test.s .file "test.c" .section .rodata .LC0: .string "%s" .LC1: .string "%s HELLO \n" .text .globl main .type main, @function main: pushl %ebp movl %esp, %ebp subl $1048, %esp andl $-16, %esp movl