2023-07-05 15:19:27 +00:00
2023-06-30 13:30:40 +00:00
2023-06-30 01:51:50 +00:00
2023-07-05 15:19:27 +00:00
2023-06-30 13:30:40 +00:00
2023-06-30 01:51:50 +00:00
2023-06-30 01:51:50 +00:00
2023-06-30 13:30:40 +00:00
2023-06-30 13:30:40 +00:00
2023-06-30 22:37:14 +09:00
2023-06-30 22:35:55 +09:00

Rust bindings for RV

Safe bindings for the RV.

Example

use rsrv::rv::*;

fn main() {
    let cpu = RV::new(0x10000, vec![0x02A88893, 0x00000073]);

    while RV::step(cpu) != RV_EECALL {}

    println!(
        "Environment call @ {:08x}: {}",
        RV::get_pc(cpu),
        RV::get_r(cpu)[17]
    );
}
Description
No description provided
Readme MIT 33 KiB
Languages
Rust 100%