pub enum RegMemImm {
Reg {
reg: Reg,
},
Mem {
addr: SyntheticAmode,
},
Imm {
simm32: u32,
},
}
Expand description
An operand which is either an integer Register, a value in Memory or an Immediate. This can
denote an 8, 16, 32 or 64 bit value. For the Immediate form, in the 8- and 16-bit case, only
the lower 8 or 16 bits of simm32
is relevant. In the 64-bit case, the value denoted by
simm32
is its sign-extension out to 64 bits.
Variants§
Reg
A register operand.
Mem
Fields
§
addr: SyntheticAmode
The memory address.
A memory operand.
Imm
An immediate operand.