<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>katakanan</author_name>
  <author_url>https://blog.hatena.ne.jp/katakanan/</author_url>
  <blog_title>e-tipsmemo</blog_title>
  <blog_url>https://e-tipsmemo.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラム</anon>
  </categories>
  <description>諸事情があって自分の書いたMIPSアセンブリを純粋に機械語に変換しただけの16進数表示のテキストが ほしいという状況になった。 今回はMIPSでそういう状況だったがgccを使っているのでアセンブラのところを切り替えれば x86でもx64でもarmでもなんでも同様の手順でできると思う。 準備 UbuntuやWSLなどを想定している。 $ sudo apt-get install gcc-mips-linux-gnu50MB近くあるので待つ。 アセンブリコードを用意する。 ラベルも追加しておけばループできる addi $3, $0, 5 addi $4, $0, 0 L: addi $4, $4,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fe-tipsmemo.hatenablog.com%2Fentry%2F2017%2F12%2F10%2F000000&quot; title=&quot;objcopyで textセクションの抽出 - e-tipsmemo&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>2017-12-10 00:00:00</published>
  <title>objcopyで textセクションの抽出</title>
  <type>rich</type>
  <url>https://e-tipsmemo.hatenablog.com/entry/2017/12/10/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
