arturo-pygen-branch #1

Merged
Kittycannon merged 2 commits from arturo-pygen-branch into main 2026-03-20 16:49:37 +00:00
Member

Added pygen.ipynb — Python code generator for CPU instructions

Reads Spider_Instructions.xlsx and generates void METHOD(); declarations into CPU.hpp between the pygen-target markers. Also exports addressing mode and type size masks to InstructionMasks.hpp.

126 instructions currently defined. Reserved slots and incomplete entries (Int 1-6 Slot) are skipped automatically.

README update only tells that when you clone the pygen notebook, you should replace the path for your repo root folder and also add the .xlsx file to the root folder for the pygen to read it and have the CPU.hpp up to date.

Added pygen.ipynb — Python code generator for CPU instructions Reads Spider_Instructions.xlsx and generates void METHOD(); declarations into CPU.hpp between the pygen-target markers. Also exports addressing mode and type size masks to InstructionMasks.hpp. 126 instructions currently defined. Reserved slots and incomplete entries (Int 1-6 Slot) are skipped automatically. README update only tells that when you clone the pygen notebook, you should replace the path for your repo root folder and also add the .xlsx file to the root folder for the pygen to read it and have the CPU.hpp up to date.
CesarBalam added 2 commits 2026-03-20 04:44:08 +00:00
Reads Spider_Instructions.xlsx and generates void METHOD(); declarations
into CPU.hpp between the pygen-target markers. Also exports addressing
mode and type size masks to InstructionMasks.hpp.

126 instructions currently defined. Reserved slots and incomplete
entries (Int 1-6 Slot) are skipped automatically.
Kittycannon merged commit 0d8fef5ef9 into main 2026-03-20 16:49:37 +00:00
Kittycannon deleted branch arturo-pygen-branch 2026-03-20 16:49:37 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SpiderLang/spider-runtime#1