Function iced_x86::code_asm::ptr

source ·
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);