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

Function rv64i_jump

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

Source from the content-addressed store, hash-verified

131#[test]
132fn rv64i_jump() {
133 assert_enc!(Jal::new(1, 4), 0x004000efu32);
134 assert_enc!(Jal::new(0, -8), 0xff9ff06fu32);
135 assert_enc!(Jalr::new(1, 5, 0), 0x000280e7u32);
136}
137
138// --- RV64I - Upper immediate ---
139
140#[test]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected