aboutsummaryrefslogtreecommitdiff
path: root/test/real_mode/operand.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2026-05-22 05:49:01 +0000
committeriximeow <me@iximeow.net>2026-05-25 01:53:53 +0000
commitf3d52fcb08b4d1ef05583e1ca302e450e7c7b181 (patch)
tree50bd71ac61001fdf83e54e8befa0d526ed0364c0 /test/real_mode/operand.rs
parent41e6fb71ab86cdd7007ac72ec9cb2499439037ae (diff)
pusha/popa/push-imm memory sizes
Diffstat (limited to 'test/real_mode/operand.rs')
-rw-r--r--test/real_mode/operand.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/real_mode/operand.rs b/test/real_mode/operand.rs
index 9b37f36..fb2ce39 100644
--- a/test/real_mode/operand.rs
+++ b/test/real_mode/operand.rs
@@ -48,4 +48,8 @@ fn test_implied_memory_width() {
// "vmaskmovdqu xmm0, xmm1"
assert_eq!(mem_size_of(&[0xc4, 0xe1, 0x79, 0xf7, 0xc1]), Some(16));
assert_eq!(mem_size_of(&[0x67, 0xc4, 0xe1, 0x79, 0xf7, 0xc1]), Some(16));
+
+ // callf 0xcf23:0x2d62
+ assert_eq!(mem_size_of(&[0x9a, 0x62, 0x2d, 0x23, 0xcf]), Some(4));
+ assert_eq!(mem_size_of(&[0x66, 0x9a, 0x62, 0x2d, 0x00, 0x00, 0x23, 0xcf]), Some(6));
}