The Problem Space
Debugging and analyzing low-level assembly instruction execution requires transparent visualization of register banks, program counters, and memory stack frames without vendor-locked simulator overhead.
From instruction to machine state.
High-efficiency 32-bit RISC-V instruction parser and assembler in Rust with a cycle-accurate Python execution simulator.
Debugging and analyzing low-level assembly instruction execution requires transparent visualization of register banks, program counters, and memory stack frames without vendor-locked simulator overhead.
Engineered a two-pass assembler in Rust that validates syntax, calculates label offsets, and encodes instructions into binary machine code, coupled with a Python execution engine that models memory frames and arithmetic states.
Rust-based lexer, AST parser, and binary encoder producing raw machine binaries. Python simulator loading binary memory segments and maintaining architectural register states and call stack traces.