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

Function pseudo_j

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

Source from the content-addressed store, hash-verified

417fn pseudo_not() {
418 assert_pseudo_expands_to!(
419 PseudoInstruction::Not { rd: 10, rs: 11 },
420 vec![RealInstruction::Xori(Xori::new(10, 11, -1))]
421 );
422}
423
424#[test]
425fn pseudo_li_small() {
426 assert_pseudo_expands_to!(
427 PseudoInstruction::Li { rd: 5, imm: 42 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected