<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>FromNand</author_name>
  <author_url>https://blog.hatena.ne.jp/FromNand/</author_url>
  <blog_title>FromNandの日記</blog_title>
  <blog_url>https://fromnand.hatenadiary.jp/</blog_url>
  <categories>
    <anon>「C言語がどんなアセンブリに変換されるのか？」シリーズ</anon>
  </categories>
  <description>さて、前回の「main関数の「return 0;」について逆アセンブルして考察してみた - FromNandの日記」に続いて、今回はタイトルの通りの実験を行います。 まずは、「return;」を書いた場合のソースはこちらになります。 void func(void){ return; } このプログラムをコンパイルして、逆アセンブルすると次のようになります。 00000000 &lt;func&gt;: 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: e8 fc ff ff ff call 4 &lt;func+0x4&gt; 8: 05 01 00 00 00 add $0x1,%…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffromnand.hatenadiary.jp%2Fentry%2F2020%2F02%2F19%2F194742&quot; title=&quot;戻り値がvoid型である関数で「return;」を書いた場合と書かない場合の違いについて - FromNandの日記&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>2020-02-19 19:47:42</published>
  <title>戻り値がvoid型である関数で「return;」を書いた場合と書かない場合の違いについて</title>
  <type>rich</type>
  <url>https://fromnand.hatenadiary.jp/entry/2020/02/19/194742</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
