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

Function parser_jal_with_rd

crates/asm-to-binary/src/assembler/mod.rs:238–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236 Assembler::assemble(&tokens).expect_err("invalid source must fail");
237 }
238 let tokens = crate::parse_asm_source(Some("bad.s"), "addi a0, missing, 1");
239 let error = Assembler::assemble(&tokens).expect_err("invalid register must fail");
240 assert!(error.message.contains("bad.s:1"), "{}", error.message);
241 }
242
243 #[test]
244 fn constants_support_forward_numeric_use_and_reject_duplicates() {
245 let source = concat!(
246 ".text\n",
247 "addi a0, zero, ANSWER\n",

Callers

nothing calls this directly

Calls 1

parse_oneFunction · 0.85

Tested by

no test coverage detected