]> Witch of Git - jade-mouse/blob - toolchain/src/inst/decode.rs
Implement mov and add tests
[jade-mouse] / toolchain / src / inst / decode.rs
1 use crate::inst::Inst;
2 use std::io::{self, Read};
3
4 pub trait Decode {
5 fn decode(code: &mut impl Read) -> io::Result<Option<Inst>>;
6 }