diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-08-01 21:31:32 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-08-01 21:31:32 -0700 |
commit | 4ea0d46109442adcee2a38beacafa4d14b3e694d (patch) | |
tree | 590b70d61b9de2ebd014b0cfcdae4a06bf78d2c3 | |
parent | 75f0d196adfb0a9b0bda35178a1f56a8f07736f7 (diff) | |
download | mu-4ea0d46109442adcee2a38beacafa4d14b3e694d.tar.gz |
5501
-rw-r--r-- | Readme.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Readme.md b/Readme.md index d2ddd157..40089b09 100644 --- a/Readme.md +++ b/Readme.md @@ -229,10 +229,10 @@ them. In the last three cases, one exception occurs when the `/rm32` argument contains `4`. Rather than encoding register `ESP`, it means the address is provided by three _whole new_ arguments (`/base`, `/index` and `/scale`) in a -_totally_ different way: +_totally_ different way (where `<<` is the left-shift operator): ``` - reg/mem = *(/base + /index * (2 ^ /scale)) + reg/mem = *(base + (index << scale)) ``` (There are a couple more exceptions ☹; see [Table 2-2](modrm.pdf) and [Table 2-3](sib.pdf) |