Skip to main content

word_ptr

Function word_ptr 

pub fn word_ptr<M>(mem: M) -> AsmMemoryOperand
Expand description

Creates a memory operand with a WORD PTR size hint

ยงExamples

use iced_x86::code_asm::*;

let _ = word_ptr(rax);
let _ = word_ptr(0x1234_5678).fs();
let _ = word_ptr(rdx * 4 + rcx - 123);