Skip to content

Commit 3bb36b6

Browse files
ironsheepclaude
andcommitted
Update PASM2 instruction files with enhanced operand format data
- Update all 360+ PASM2 instruction YAML files with enhanced operand patterns - Add pipe symbol alternatives for operand formats (e.g., D, #S | D) - Integrate PNUT_TS compiler analysis data across all instruction files - Add v1.2.0 deliverables and untracked work mode documentation - Complete knowledge base update supporting v1.2.0 release This represents the full PNUT_TS integration enhancement to the knowledge base 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b5e1e44 commit 3bb36b6

642 files changed

Lines changed: 20502 additions & 2430 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ import/
5252

5353
# External source code projects (not versioned)
5454
/engineering/ingestion/external-inputs/source-code/external-projects/
55+
/engineering/ingestion/external-inputs/source-code/obex-projects/
5556

5657
# Claude's private reference materials (not versioned)
5758
.claude/

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> Comprehensive documentation and resources for the Parallax Propeller 2 (P2) multicore microcontroller
44
5-
[![Version](https://img.shields.io/badge/version-2.0-blue.svg)](https://github.com/your-org/P2-Knowledge-Base/releases)
5+
[![Version](https://img.shields.io/badge/version-1.2.0-blue.svg)](https://github.com/IronSheepProductionsLLC/P2-Knowledge-Base/releases)
66
[![Coverage](https://img.shields.io/badge/P2%20Coverage-80%25-green.svg)](deliverables/reference/)
77
[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
88

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# P2 AI Reference v1.2.0
2+
3+
Generated: 2025-09-13T22:27:15.011489
4+
5+
## Contents
6+
7+
This release contains 268 documented elements:
8+
9+
- PASM2 Instructions: 0
10+
- SPIN2 Keywords: 36
11+
- SPIN2 Operators: 74
12+
- SPIN2 Methods: 87
13+
- Registers: 25
14+
- Assembly Directives: 8
15+
- Debug Commands: 23
16+
- Special Symbols: 12
17+
- System Variables: 3
18+
19+
## Usage
20+
21+
### For AI Systems
22+
1. Load the manifest files from `manifests/` for element discovery
23+
2. Load individual YAML files as needed from their respective directories
24+
3. Use schemas from `schemas/` for validation
25+
26+
### For Developers
27+
- All elements are in YAML format for easy parsing
28+
- Each element follows a consistent schema
29+
- Manifests provide quick lookup without parsing all files
30+
31+
## Source
32+
Generated from: engineering/knowledge-base/P2/
33+
Repository: https://github.com/ironsheep/P2-Knowledge-Base
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.2.0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
directive: "ALIGNL"
2+
type: assembly_directive
3+
category: "Assembly"
4+
description: |
5+
Align to long boundary (4 bytes)
6+
syntax: "['ALIGNL']"
7+
examples:
8+
- "ALIGNL // Align to next long boundary"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
directive: "ALIGNW"
2+
type: assembly_directive
3+
category: "Assembly"
4+
description: |
5+
Align to word boundary (2 bytes)
6+
syntax: "['ALIGNW']"
7+
examples:
8+
- "ALIGNW // Align to next word boundary"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
directive: "DITTO"
2+
type: assembly_directive
3+
category: "Assembly"
4+
description: |
5+
Repeat last instruction (v50+)
6+
syntax: "['DITTO']"
7+
examples:
8+
- "DITTO // Repeat previous instruction"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
directive: "FIT"
2+
type: assembly_directive
3+
category: "Assembly"
4+
description: |
5+
Ensure code fits in specified limit
6+
syntax: "['FIT limit']"
7+
examples:
8+
- "FIT $1F0 // Must fit in COG space"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
directive: "ORG"
2+
type: assembly_directive
3+
category: "Assembly"
4+
description: |
5+
Set origin address for COG RAM
6+
syntax: "['ORG address']"
7+
examples:
8+
- "ORG 0 // Start at COG address 0"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
directive: "ORGF"
2+
type: assembly_directive
3+
category: "Assembly"
4+
description: |
5+
Set origin address with forced alignment
6+
syntax: "['ORGF address']"
7+
examples:
8+
- "ORGF $100 // Align to address $100"

0 commit comments

Comments
 (0)