linx-isa-manual

仓库创建 2026年2月7日最近提交 21 天前SkillHot 收录 20 天前
▸ 精选理由

把手册作为权威来源,便于查阅与一致性维护

▸ 风险提示

可能引用生成器并运行本地文档构建脚本

这个 Skill 做什么

导航与编辑 LinxISA v0.56 手册,并提供指令与寄存器规范

方便查阅和编辑 LinxISA v0.56 手册、指令和寄存器规范,适合在写文档、改指令定义或交叉校验规范时用。集中源数据在 isa/v0.56/linxisa-v0.56.json,并有生成器把寄存器表和 golden contract 维持一致。突出点是把机器可读的定义和人看的手册串起来,改动能被循证追踪。

▸ 展开 SKILL.md 英文原文

LinxISA v0.56 manual navigation and authoring skill. Use when reading, updating, or cross-referencing the ISA manual at docs/architecture/isa-manual/. Contains the complete golden register contract, canonical instruction groups, and build/test workflow.

研究检索ISA 手册指令集寄存器契约通用
1
Stars
3
Forks
11
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/LinxISA/linx-skills/main/linx-isa-manual/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/LinxISA/linx-skills/main/linx-isa-manual/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# LinxISA v0.56 Manual Navigation Skill

## Overview

This skill covers the ISA manual at `docs/architecture/isa-manual/` and its associated generators. The canonical source-of-truth for instruction definitions is `isa/v0.56/linxisa-v0.56.json`.

## Golden Register Contract

The ISA manual's register table (generated by `tools/isa/gen_registers_reg5.py`) must match the golden contract from `~/Documents/linxisa.csv`. All 137 architectural registers are defined below.

### General-Purpose Registers (R0–R23)

| Code | Name | Asm | Description |
|------|------|------|-------------|
| 0 | R0 | zero | 常数0 |
| 1 | R1 | sp | 栈指针寄存器 |
| 2 | R2 | a0 | 函数参数0 |
| 3 | R3 | a1 | 函数参数1 |
| 4 | R4 | a2 | 函数
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有