mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 08:18:36 +03:00
add tons of tests
This commit is contained in:
24
X86DisassemblerTests/TestData/mul_tests.csv
Normal file
24
X86DisassemblerTests/TestData/mul_tests.csv
Normal file
@ -0,0 +1,24 @@
|
||||
# MUL instruction tests
|
||||
# Format: RawBytes;Instructions
|
||||
RawBytes;Instructions
|
||||
|
||||
# MUL r/m8 (opcode F6 /4)
|
||||
F6E0;[{ "Type": "Mul", "Operands": ["al"] }]
|
||||
F6E3;[{ "Type": "Mul", "Operands": ["bl"] }]
|
||||
F6E1;[{ "Type": "Mul", "Operands": ["cl"] }]
|
||||
F6E2;[{ "Type": "Mul", "Operands": ["dl"] }]
|
||||
|
||||
# MUL r/m32 (opcode F7 /4)
|
||||
F7E0;[{ "Type": "Mul", "Operands": ["eax"] }]
|
||||
F7E3;[{ "Type": "Mul", "Operands": ["ebx"] }]
|
||||
F7E1;[{ "Type": "Mul", "Operands": ["ecx"] }]
|
||||
F7E2;[{ "Type": "Mul", "Operands": ["edx"] }]
|
||||
F7E4;[{ "Type": "Mul", "Operands": ["esp"] }]
|
||||
F7E5;[{ "Type": "Mul", "Operands": ["ebp"] }]
|
||||
F7E6;[{ "Type": "Mul", "Operands": ["esi"] }]
|
||||
F7E7;[{ "Type": "Mul", "Operands": ["edi"] }]
|
||||
|
||||
# MUL with memory operands
|
||||
F62425;[{ "Type": "Mul", "Operands": ["byte ptr [eax]"] }]
|
||||
F72425;[{ "Type": "Mul", "Operands": ["dword ptr [eax]"] }]
|
||||
F7242510000000;[{ "Type": "Mul", "Operands": ["dword ptr [eax+0x10]"] }]
|
Can't render this file because it contains an unexpected character in line 6 and column 9.
|
Reference in New Issue
Block a user