<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>n7shi</author_name>
  <author_url>https://blog.hatena.ne.jp/n7shi/</author_url>
  <blog_title>七誌の開発日記</blog_title>
  <blog_url>https://7shi.hateblo.jp/</blog_url>
  <categories>
    <anon>MINIX</anon>
  </categories>
  <description>id:n7shi:20100201の続きです。インラインアセンブラをIntel形式にしてみました。 void start() { int m[] = { 0, 1/*EXIT*/, 42, 0, 0, 0, 0, 0, 0 }; asm(&quot;mov eax, 0; mov ecx, 3; int 0x21&quot; :: &quot;b&quot;(m)); } # gcc -masm=intel -nostdinc -nostdlib exit.c # ./a.out; echo $? 42</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F7shi.hateblo.jp%2Fentry%2F20100202%2F1265129437&quot; title=&quot;libcなしでexit (2) - 七誌の開発日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-02-02 01:50:37</published>
  <title>libcなしでexit (2)</title>
  <type>rich</type>
  <url>https://7shi.hateblo.jp/entry/20100202/1265129437</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
