0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-05-19 03:41:18 +03:00

7.4 KiB

1# MOV instruction tests
2# Format: RawBytes;Instructions
3RawBytes;Instructions
4# MOV r8, imm8 (opcodes B0-B7)
5# MOV r32, imm32 (opcodes B8-BF)
6# MOV r/m8, r8 (opcode 88)
7# SPECIAL CASE: When Mod=00 and R/M=101 (EBP), this doesn't actually refer to [EBP].
8# Instead, it's a special case that indicates a 32-bit displacement-only addressing mode.
9# Adding the correct test case:
10# MOV r/m32, r32 (opcode 89)
11# SPECIAL CASE: When Mod=00 and R/M=101 (EBP), this doesn't actually refer to [EBP].
12# Instead, it's a special case that indicates a 32-bit displacement-only addressing mode.
13# Adding the correct test case:
14# MOV r8, r/m8 (opcode 8A)
15# SPECIAL CASE: When Mod=00 and R/M=101 (EBP), this doesn't actually refer to [EBP].
16# Instead, it's a special case that indicates a 32-bit displacement-only addressing mode.
17# Adding the correct test case:
18# MOV r32, r/m32 (opcode 8B)
19# SPECIAL CASE: When Mod=00 and R/M=101 (EBP), this doesn't actually refer to [EBP].
20# Instead, it's a special case that indicates a 32-bit displacement-only addressing mode.
21# Adding the correct test case:
22# MOV r/m8, imm8 (opcode C6 /0)
23# SPECIAL CASE: When Mod=00 and R/M=101 (EBP), this doesn't actually refer to [EBP].
24# Instead, it's a special case that indicates a 32-bit displacement-only addressing mode.
25# Adding the correct test case:
26# MOV r/m32, imm32 (opcode C7 /0)
27# SPECIAL CASE: When Mod=00 and R/M=101 (EBP), this doesn't actually refer to [EBP].
28# Instead, it's a special case that indicates a 32-bit displacement-only addressing mode.
29# Adding the correct test case:
30# MOV with segment override prefixes