| 1 | pub type Reg = u8; |
| 2 | |
| 3 | pub trait RiscvFormat: Sized { |
| 4 | fn encode(self) -> u32; |
| 5 | fn decode(word: u32) -> Self; |
| 6 | } |
| 7 | |
| 8 | /// ============================================================================= |
| 9 | /// R-Type: Register-Register |
nothing calls this directly
no outgoing calls
no test coverage detected