<?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>x86</anon>
    <anon>C言語</anon>
  </categories>
  <description>今まで何度かvoid *の説明を求められましたが、なかなか納得してもらえませんでした。説明を工夫するだけでは限界があると感じたので、別の方法でどうにかならないかを考えてみました。前回の記事の延長線上で説明します。サンプルコードを再掲します。 mov byte ptr [0x00000001], 0x12 mov word ptr [0x00000004], 0xfeca mov dword ptr [0x0000000a], 0xefbeadde これを機械的にC言語に書き換えます。 *(char *)0x00000001 = 0x12; *(short *)0x00000004 = 0xfe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F7shi.hateblo.jp%2Fentry%2F2012%2F06%2F16%2F104612&quot; title=&quot;void *とintptr_t - 七誌の開発日記&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>2012-06-16 10:46:12</published>
  <title>void *とintptr_t</title>
  <type>rich</type>
  <url>https://7shi.hateblo.jp/entry/2012/06/16/104612</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
