{"type":"rich","description":"\u3061\u3087\u3063\u3068\u3060\u3051\u3084\u3063\u3066\u307b\u3068\u3093\u3069\u5fd8\u308c\u3066\u308bgas\u306e\u8a18\u61b6\u78ba\u8a8d\u3068\u3057\u3066Hello World\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 \u95a2\u6570\u306a\u3057\u7248 \u30bb\u30af\u30b7\u30e7\u30f3\u3001\u57fa\u672c\u7684\u306ax86 asm\u306e\u4f7f\u3044\u65b9\u3001\u30a8\u30f3\u30c8\u30ea\u30dd\u30a4\u30f3\u30c8\u3001\u30b7\u30b9\u30c6\u30e0\u30b3\u30fc\u30ebwrite&exit\u3092\u547c\u3076\u3001\u30a2\u30c9\u30ec\u30c3\u30b7\u30f3\u30b0 # puts hello world # build: as hello.s -o hello.o && ld hello.o -o hello # check: ./hello ; echo $? #=> 13 (output length) .section .data # static value section message: .ascii \"Hello W\u2026","image_url":null,"height":"190","author_url":"https://blog.hatena.ne.jp/bellbind/","width":"100%","title":"x86linux gas\u3067hello world","author_name":"bellbind","blog_url":"https://bellbind.hatenadiary.org/","categories":[],"provider_name":"Hatena Blog","url":"https://bellbind.hatenadiary.org/entry/20090325/1237988851","blog_title":"\u30e9\u30b7\u30a6\u30e9","provider_url":"https://hatena.blog","published":"2009-03-25 22:47:31","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbellbind.hatenadiary.org%2Fentry%2F20090325%2F1237988851\" title=\"x86linux gas\u3067hello world - \u30e9\u30b7\u30a6\u30e9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0"}