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

Function pseudo_ret

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

Source from the content-addressed store, hash-verified

425fn pseudo_li_small() {
426 assert_pseudo_expands_to!(
427 PseudoInstruction::Li { rd: 5, imm: 42 },
428 vec![RealInstruction::Addi(Addi::new(5, 0, 42))]
429 );
430}
431
432#[test]
433fn pseudo_li_32bit() {
434 assert_pseudo_expands_to!(
435 PseudoInstruction::Li {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected