Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

6502-to-rust

스타0
포크0
업데이트2026년 5월 23일 09:33

A workflow for porting 6502/65C02/65816 assembly (Apple II, Commodore 64, Atari 8-bit, NES, Merlin source, SWEET16) to modern Rust by first lifting it to an explicit intermediate language (IL) and then raising that IL to idiomatic Rust. Covers the two-stage method (faithful flag-explicit lift → idiom recovery → emit), modeling A/X/Y/flags/memory, translating carry/overflow/BCD correctly, recognizing idioms (16-bit math, multiply, pointer loops, jump tables), and mapping ROM/hardware calls. Use this skill WHENEVER the user wants to port, translate, convert, reimplement, decompile, or "rewrite in Rust/a modern language" any 6502-family assembly or disassembly, or asks how a 6502 routine would look in Rust, or how to build an intermediate representation of 6502 code. Trigger on "port this assembly to Rust", "convert this 6502 routine", "reimplement this Apple II code". Pairs with the 6502-instruction-set, 6502-merlin-assembler, 6502-memory-map, and 6502-sweet16 skills.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

파일 탐색기
3 개 파일
SKILL.md
readonly