MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / rv64i_system

Function rv64i_system

crates/asm-to-binary/tests/asm_encoding.rs:150–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148
149// --- RV64I - System / fence ---
150
151#[test]
152fn rv64i_system() {
153 assert_enc!(Ecall::new(), 0x00000073u32);
154 assert_enc!(Ebreak::new(), 0x00100073u32);
155 assert_enc!(Fence::new(0b1100, 0b0011), 0x0c30000fu32);
156 assert_enc!(FenceI::new(), 0x0000100fu32);
157}
158

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected