From f3d52fcb08b4d1ef05583e1ca302e450e7c7b181 Mon Sep 17 00:00:00 2001 From: iximeow Date: Fri, 22 May 2026 05:49:01 +0000 Subject: pusha/popa/push-imm memory sizes --- test/real_mode/operand.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/real_mode/operand.rs') 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)); } -- cgit v1.1