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

Function pseudo_li_64bit

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

Source from the content-addressed store, hash-verified

378 ]
379 );
380}
381
382#[test]
383fn pseudo_li_64bit() {
384 let imm: i64 = 0x1234_5678_9ABC;
385 let expanded = PseudoInstruction::Li { rd: 5, imm }.expand();
386 assert_eq!(expanded.len(), 8);
387}

Callers

nothing calls this directly

Calls 1

expandMethod · 0.80

Tested by

no test coverage detected