<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>simotin13</author_name>
  <author_url>https://blog.hatena.ne.jp/simotin13/</author_url>
  <blog_title>simotin13's message</blog_title>
  <blog_url>https://mcommit.hatenadiary.com/</blog_url>
  <categories>
    <anon>アセンブラ</anon>
    <anon>バイナリ</anon>
    <anon>PINE64</anon>
  </categories>
  <description>前回書いたPINE64+の続きとして、とりあえずBROMの処理が終わった状態でCPUがどうなっているか知りたいのですが、難航しています。mcommit.hatenadiary.comBROMのコードのダンプを見た結果、コプロセッサの設定とかをしていることは分かりましたがどうも追いきれないところもあるのでとりあえずCPUのレジスタの値をUARTでダンプ出力とかしてみたいと思いました。レジスタを直接触るためにはアセンブラでコードを書く必要があり、少しハードルはあがります。 といってもARMのABIを理解して、出力したいレジスタからMOV命令で汎用レジスタにコピーするだけなのでそこまでは難しくはない…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmcommit.hatenadiary.com%2Fentry%2F2018%2F03%2F16%2F005249&quot; title=&quot;レジスタの値を取得するx86のアセンブラ関数を書いてみた - simotin13&amp;#39;s message&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>2018-03-16 00:52:49</published>
  <title>レジスタの値を取得するx86のアセンブラ関数を書いてみた</title>
  <type>rich</type>
  <url>https://mcommit.hatenadiary.com/entry/2018/03/16/005249</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
