diff options
| author | iximeow <me@iximeow.net> | 2026-05-22 05:49:01 +0000 |
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2026-05-25 01:53:53 +0000 |
| commit | f3d52fcb08b4d1ef05583e1ca302e450e7c7b181 (patch) | |
| tree | 50bd71ac61001fdf83e54e8befa0d526ed0364c0 /test/protected_mode/operand.rs | |
| parent | 41e6fb71ab86cdd7007ac72ec9cb2499439037ae (diff) | |
pusha/popa/push-imm memory sizes
Diffstat (limited to 'test/protected_mode/operand.rs')
| -rw-r--r-- | test/protected_mode/operand.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/protected_mode/operand.rs b/test/protected_mode/operand.rs index d90e6ba..0c970de 100644 --- a/test/protected_mode/operand.rs +++ b/test/protected_mode/operand.rs @@ -75,4 +75,8 @@ fn test_implied_memory_width() { assert_eq!(mem_size_of(&[0x0f, 0xa8]), Some(4)); // pop gs assert_eq!(mem_size_of(&[0x0f, 0xa9]), Some(4)); + + // callf 0xcf23:0x2d62 + assert_eq!(mem_size_of(&[0x9a, 0x62, 0x2d, 0x00, 0x00, 0x23, 0xcf]), Some(6)); + assert_eq!(mem_size_of(&[0x66, 0x9a, 0x62, 0x2d, 0x23, 0xcf]), Some(4)); } |
