pub fn ptr<M: Into<AsmMemoryOperand>>(mem: M) -> AsmMemoryOperand
Expand description
Creates a memory operand with no size hint
Examples
use iced_x86::code_asm::*;
let _ = ptr(rax);
let _ = ptr(0x1234_5678).fs();
let _ = ptr(rdx * 4 + rcx - 123);
pub fn ptr<M: Into<AsmMemoryOperand>>(mem: M) -> AsmMemoryOperand
Creates a memory operand with no size hint
use iced_x86::code_asm::*;
let _ = ptr(rax);
let _ = ptr(0x1234_5678).fs();
let _ = ptr(rdx * 4 + rcx - 123);