<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>taizooo</author_name>
  <author_url>https://blog.hatena.ne.jp/taizooo/</author_url>
  <blog_title>copy and destroy</blog_title>
  <blog_url>https://copyanddestroy.hatenablog.com/</blog_url>
  <categories>
    <anon>日記の練習</anon>
    <anon>code</anon>
  </categories>
  <description>日記の練習です。『コンピュータの構成と設計』、C 言語のソートのコード(配列に収められている数値を昇順にソートする)をアセンブルする例題が出て来て、ソートのアルゴリズム、全然知らないから(アセンブラじゃなくて C 言語の方で)ハマっている。 sort 手続き sort(int v[], int n) { int i, j; for(i = 0; i &lt; n; i = i + 1){ for(j = i - 1; j &gt;= 0 &amp;&amp; v[j] &gt; v[j + 1]; j = j - 1){ swap(v, j); } } } swap 手続き swap(int v[], int k) { int…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcopyanddestroy.hatenablog.com%2Fentry%2F2025%2F09%2F30%2F092036&quot; title=&quot; - copy and destroy&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>2025-09-30 09:20:36</published>
  <title></title>
  <type>rich</type>
  <url>https://copyanddestroy.hatenablog.com/entry/2025/09/30/092036</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
