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

Method d

crates/asm-to-binary/src/riscv/rv64a.rs:167–174  ·  view source on GitHub ↗
(rd: Reg, addr: Reg)

Source from the content-addressed store, hash-verified

165 pub ordering: Ordering,
166 /// `false` = `.w` (32-bit), `true` = `.d` (64-bit).
167 pub double: bool,
168}
169
170impl Lr {
171 pub fn w(rd: Reg, addr: Reg) -> Self {
172 assert!(
173 rd < 32,
174 "{}: register x{rd} is out of range",
175 instruction_mnemonic!(LrW)
176 );
177 assert!(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected