Files
xenia-rs/migration/project-root/ppc-manual/forms/D.md
MechaCat02 e6d43a23ac chore: add migration/ bundle for cross-machine setup
Bundles state that lives OUTSIDE the xenia-rs repo so a fresh clone on
another machine can be brought up to identical configuration via
migration/setup.sh:

  - claude-memory/             ~/.claude/projects/-home-fabi-RE-Project-Sylpheed/memory/
                               (103 files, 1.1 MB - MEMORY.md + every
                                project_xenia_rs_*.md from audits
                                addis_signext through audit-058)
  - project-root/dot-claude/   <project-root>/.claude/settings.json
                               (Stop hook + permissions)
  - project-root/ppc-manual/   <project-root>/ppc-manual/
                               (PowerPC reference docs, 397 files, 3.7 MB)
  - project-root/run-canary.sh <project-root>/run-canary.sh
  - README.md                  Human-readable setup checklist
  - setup.sh                   Idempotent installer (also reclones
                               xenia-canary at pinned HEAD 6de80dffe)
  - MANIFEST.md                Per-file mapping + per-file-not-bundled
                               restoration recipe

Excluded from bundle (not shippable via git):
  - Sylpheed ISO (7.8 GB; copyright; manual copy required)
  - sylpheed.db (395 MB; regenerable from XEX via analysis tooling)
  - target/ build artifacts (rebuild on target)
  - audit-runs probe firehoses (.log/.stdout/.stderr ~11 GB; rerun if needed)
  - audit-runs memory dumps (.bin ~4.5 GB; rerun audit-026/027/029 if needed)
  - xenia-canary checkout (setup.sh reclones from
    git.mc02.dev/fabi/Xenia-Canary.git at HEAD 6de80dffe)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 21:38:38 +02:00

60 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Form `D` — D — Displacement (load/store and immediate ALU)
## Bit Layout
| Bits | Field | Meaning |
| --- | --- | --- |
| 05 | `OPCD` | primary opcode |
| 610 | `RT` | destination GPR (or RS when storing) |
| 1115 | `RA` | source GPR (0 ⇒ literal 0 for RA0 forms) |
| 1631 | `D/SI/UI` | 16-bit signed or unsigned immediate |
## Instructions Using This Form
<!-- GENERATED: BEGIN -->
| Mnemonic | Opcode | Group | Description |
| --- | --- | --- | --- |
| [`tdi`](../branch/tdi.md) | `0x08000000` | branch | Trap Doubleword Immediate |
| [`twi`](../branch/twi.md) | `0x0c000000` | branch | Trap Word Immediate |
| [`mulli`](../alu/mulli.md) | `0x1c000000` | integer | Multiply Low Immediate |
| [`subficx`](../alu/subficx.md) | `0x20000000` | integer | Subtract From Immediate Carrying |
| [`cmpli`](../alu/cmpli.md) | `0x28000000` | integer | Compare Logical Immediate |
| [`cmpi`](../alu/cmpi.md) | `0x2c000000` | integer | Compare Immediate |
| [`addic`](../alu/addic.md) | `0x30000000` | integer | Add Immediate Carrying |
| [`addic.`](../alu/addicx.md) | `0x34000000` | integer | Add Immediate Carrying and Record |
| [`addi`](../alu/addi.md) | `0x38000000` | integer | Add Immediate |
| [`addis`](../alu/addis.md) | `0x3c000000` | integer | Add Immediate Shifted |
| [`ori`](../alu/ori.md) | `0x60000000` | integer | OR Immediate |
| [`oris`](../alu/oris.md) | `0x64000000` | integer | OR Immediate Shifted |
| [`xori`](../alu/xori.md) | `0x68000000` | integer | XOR Immediate |
| [`xoris`](../alu/xoris.md) | `0x6c000000` | integer | XOR Immediate Shifted |
| [`andi.`](../alu/andix.md) | `0x70000000` | integer | AND Immediate |
| [`andis.`](../alu/andisx.md) | `0x74000000` | integer | AND Immediate Shifted |
| [`lwz`](../memory/lwz.md) | `0x80000000` | memory | Load Word and Zero |
| [`lwzu`](../memory/lwz.md) | `0x84000000` | memory | Load Word and Zero with Update |
| [`lbz`](../memory/lbz.md) | `0x88000000` | memory | Load Byte and Zero |
| [`lbzu`](../memory/lbz.md) | `0x8c000000` | memory | Load Byte and Zero with Update |
| [`stw`](../memory/stw.md) | `0x90000000` | memory | Store Word |
| [`stwu`](../memory/stw.md) | `0x94000000` | memory | Store Word with Update |
| [`stb`](../memory/stb.md) | `0x98000000` | memory | Store Byte |
| [`stbu`](../memory/stb.md) | `0x9c000000` | memory | Store Byte with Update |
| [`lhz`](../memory/lhz.md) | `0xa0000000` | memory | Load Half Word and Zero |
| [`lhzu`](../memory/lhz.md) | `0xa4000000` | memory | Load Half Word and Zero with Update |
| [`lha`](../memory/lha.md) | `0xa8000000` | memory | Load Half Word Algebraic |
| [`lhau`](../memory/lha.md) | `0xac000000` | memory | Load Half Word Algebraic with Update |
| [`sth`](../memory/sth.md) | `0xb0000000` | memory | Store Half Word |
| [`sthu`](../memory/sth.md) | `0xb4000000` | memory | Store Half Word with Update |
| [`lmw`](../memory/lmw.md) | `0xb8000000` | memory | Load Multiple Word |
| [`stmw`](../memory/stmw.md) | `0xbc000000` | memory | Store Multiple Word |
| [`lfs`](../memory/lfs.md) | `0xc0000000` | memory | Load Floating-Point Single |
| [`lfsu`](../memory/lfs.md) | `0xc4000000` | memory | Load Floating-Point Single with Update |
| [`lfd`](../memory/lfd.md) | `0xc8000000` | memory | Load Floating-Point Double |
| [`lfdu`](../memory/lfd.md) | `0xcc000000` | memory | Load Floating-Point Double with Update |
| [`stfs`](../memory/stfs.md) | `0xd0000000` | memory | Store Floating-Point Single |
| [`stfsu`](../memory/stfs.md) | `0xd4000000` | memory | Store Floating-Point Single with Update |
| [`stfd`](../memory/stfd.md) | `0xd8000000` | memory | Store Floating-Point Double |
| [`stfdu`](../memory/stfd.md) | `0xdc000000` | memory | Store Floating-Point Double with Update |
<!-- GENERATED: END -->