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

Method encode

crates/asm-to-binary/src/riscv/rv64a.rs:182–194  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

180 instruction_mnemonic!(LrW)
181 );
182 Self {
183 rd,
184 addr,
185 ordering: Ordering::none(),
186 double: false,
187 }
188 }
189 pub fn d(rd: Reg, addr: Reg) -> Self {
190 assert!(
191 rd < 32,
192 "{}: register x{rd} is out of range",
193 instruction_mnemonic!(LrD)
194 );
195 assert!(
196 addr < 32,
197 "{}: register x{addr} is out of range",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected