aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/long_mode')
-rw-r--r--src/long_mode/mod.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/long_mode/mod.rs b/src/long_mode/mod.rs
index 1a09f04..823221e 100644
--- a/src/long_mode/mod.rs
+++ b/src/long_mode/mod.rs
@@ -418,9 +418,11 @@ pub enum Operand {
MemDeref { base: RegSpec },
/// a dereference of the address held in some register with offset. for example: `[rsi + 0x14]`.
Disp { base: RegSpec, disp: i32 },
- /// a dereference of the address held in some register scaled by 1, 2, 4, or 8. this is almost always used with the `lea` instruction. for example: `[rdx * 4]`.
+ /// a dereference of the address held in some register scaled by 1, 2, 4, or 8. this is almost
+ /// always used with the `lea` instruction. for example: `[rdx * 4]`.
MemIndexScale { index: RegSpec, scale: u8 },
- /// a dereference of the address held in some register scaled by 1, 2, 4, or 8 with offset. this is almost always used with the `lea` instruction. for example: `[rax * 4 + 0x30]`.
+ /// a dereference of the address held in some register scaled by 1, 2, 4, or 8 with offset.
+ /// this is almost always used with the `lea` instruction. for example: `[rax * 4 + 0x30]`.
MemIndexScaleDisp { index: RegSpec, scale: u8, disp: i32 },
/// a dereference of the address from summing a register and index register scaled by 1, 2, 4,
/// or 8. for