<?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>Rust</anon>
    <anon>プログラム</anon>
  </categories>
  <description>e-tipsmemo.hatenablog.com 続き CPU #[derive(Default, Clone)] pub struct Cpu { pub pc: Cell&lt;u16&gt;, pub a: Cell&lt;u8&gt;, pub x: Cell&lt;u8&gt;, pub y: Cell&lt;u8&gt;, pub s: Cell&lt;u8&gt;, pub p: Cell&lt;Status&gt;, pub nmi: Cell&lt;bool&gt;, } レジスタを用意する。Statusはbitflags crateでflag管理する。 メインメモリはNESが持っているので、メモリアクセスはNESのメンバ関数にしてある。 ここら辺は参考サ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fe-tipsmemo.hatenablog.com%2Fentry%2F2021%2F08%2F22%2F000000&quot; title=&quot;NES Emulator in Rust : 2 CPU - 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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/katakanan/20210804/20210804080502.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-08-22 00:00:00</published>
  <title>NES Emulator in Rust : 2 CPU</title>
  <type>rich</type>
  <url>https://e-tipsmemo.hatenablog.com/entry/2021/08/22/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
