aboutsummaryrefslogtreecommitdiff
path: root/src/long_mode/behavior.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2026-03-09 06:41:42 +0000
committeriximeow <me@iximeow.net>2026-03-09 06:41:42 +0000
commit7b90eec718c9e911232e9d586b7f063255dabf88 (patch)
tree9d216d83d4c551fbd1e1956e8bb93384a730b503 /src/long_mode/behavior.rs
parentbf9f2f828d7b4f08352595098700476e41f0ad7e (diff)
write/read writes operand 0
Diffstat (limited to 'src/long_mode/behavior.rs')
-rw-r--r--src/long_mode/behavior.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/long_mode/behavior.rs b/src/long_mode/behavior.rs
index 26e2c58..3eb616f 100644
--- a/src/long_mode/behavior.rs
+++ b/src/long_mode/behavior.rs
@@ -970,7 +970,7 @@ const GENERAL_R_R: BehaviorDigest = GENERAL_RW_R
/// `ins` writes to the memory operand, reads from `rdx` (second operand)
const GENERAL_W_R: BehaviorDigest = GENERAL_RW_R
- .set_operand(0, Access::Read);
+ .set_operand(0, Access::Write);
const GENERAL_RW_RW: BehaviorDigest = GENERAL_RW_R
.set_operand(1, Access::ReadWrite);