I have this snippet of code :
fn main() { let mut o1: i32; let a = 3; unsafe { asm!(" mov rax, $0 mul rax " : "=r"(o1) # output : "0"(a) # input : : "intel") } println!("{}, ", o1) }
Question : how to make input constrain work with "a" variable while using the intel syntax.