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:
59
X86DisassemblerTests/TestData/bit_tests.csv
Normal file
59
X86DisassemblerTests/TestData/bit_tests.csv
Normal file
@ -0,0 +1,59 @@
|
||||
# Bit manipulation instruction tests
|
||||
# Format: RawBytes;Instructions
|
||||
RawBytes;Instructions
|
||||
|
||||
# BT - Bit Test
|
||||
0FA3C1;[{ "Type": "Bt", "Operands": ["ecx", "eax"] }]
|
||||
0FA3D9;[{ "Type": "Bt", "Operands": ["ecx", "ebx"] }]
|
||||
0FA3CA;[{ "Type": "Bt", "Operands": ["edx", "ecx"] }]
|
||||
0FA30425;[{ "Type": "Bt", "Operands": ["dword ptr [eax]", "eax"] }]
|
||||
0FA30C25;[{ "Type": "Bt", "Operands": ["dword ptr [eax]", "ecx"] }]
|
||||
0FA31425;[{ "Type": "Bt", "Operands": ["dword ptr [eax]", "edx"] }]
|
||||
0FBA2005;[{ "Type": "Bt", "Operands": ["dword ptr [eax]", "0x05"] }]
|
||||
0FBA2505;[{ "Type": "Bt", "Operands": ["dword ptr [ebp]", "0x05"] }]
|
||||
|
||||
# BTS - Bit Test and Set
|
||||
0FABC1;[{ "Type": "Bts", "Operands": ["ecx", "eax"] }]
|
||||
0FABD9;[{ "Type": "Bts", "Operands": ["ecx", "ebx"] }]
|
||||
0FABCA;[{ "Type": "Bts", "Operands": ["edx", "ecx"] }]
|
||||
0FAB0425;[{ "Type": "Bts", "Operands": ["dword ptr [eax]", "eax"] }]
|
||||
0FAB0C25;[{ "Type": "Bts", "Operands": ["dword ptr [eax]", "ecx"] }]
|
||||
0FAB1425;[{ "Type": "Bts", "Operands": ["dword ptr [eax]", "edx"] }]
|
||||
0FBA2805;[{ "Type": "Bts", "Operands": ["dword ptr [eax]", "0x05"] }]
|
||||
0FBA2D05;[{ "Type": "Bts", "Operands": ["dword ptr [ebp]", "0x05"] }]
|
||||
|
||||
# BTR - Bit Test and Reset
|
||||
0FB3C1;[{ "Type": "Btr", "Operands": ["ecx", "eax"] }]
|
||||
0FB3D9;[{ "Type": "Btr", "Operands": ["ecx", "ebx"] }]
|
||||
0FB3CA;[{ "Type": "Btr", "Operands": ["edx", "ecx"] }]
|
||||
0FB30425;[{ "Type": "Btr", "Operands": ["dword ptr [eax]", "eax"] }]
|
||||
0FB30C25;[{ "Type": "Btr", "Operands": ["dword ptr [eax]", "ecx"] }]
|
||||
0FB31425;[{ "Type": "Btr", "Operands": ["dword ptr [eax]", "edx"] }]
|
||||
0FBA3005;[{ "Type": "Btr", "Operands": ["dword ptr [eax]", "0x05"] }]
|
||||
0FBA3505;[{ "Type": "Btr", "Operands": ["dword ptr [ebp]", "0x05"] }]
|
||||
|
||||
# BTC - Bit Test and Complement
|
||||
0FBBC1;[{ "Type": "Btc", "Operands": ["ecx", "eax"] }]
|
||||
0FBBD9;[{ "Type": "Btc", "Operands": ["ecx", "ebx"] }]
|
||||
0FBBCA;[{ "Type": "Btc", "Operands": ["edx", "ecx"] }]
|
||||
0FBB0425;[{ "Type": "Btc", "Operands": ["dword ptr [eax]", "eax"] }]
|
||||
0FBB0C25;[{ "Type": "Btc", "Operands": ["dword ptr [eax]", "ecx"] }]
|
||||
0FBB1425;[{ "Type": "Btc", "Operands": ["dword ptr [eax]", "edx"] }]
|
||||
0FBA3805;[{ "Type": "Btc", "Operands": ["dword ptr [eax]", "0x05"] }]
|
||||
0FBA3D05;[{ "Type": "Btc", "Operands": ["dword ptr [ebp]", "0x05"] }]
|
||||
|
||||
# BSF - Bit Scan Forward
|
||||
0FBCC1;[{ "Type": "Bsf", "Operands": ["eax", "ecx"] }]
|
||||
0FBCD9;[{ "Type": "Bsf", "Operands": ["ebx", "ecx"] }]
|
||||
0FBCCA;[{ "Type": "Bsf", "Operands": ["ecx", "edx"] }]
|
||||
0FBC0425;[{ "Type": "Bsf", "Operands": ["eax", "dword ptr [eax]"] }]
|
||||
0FBC0C25;[{ "Type": "Bsf", "Operands": ["ecx", "dword ptr [eax]"] }]
|
||||
0FBC1425;[{ "Type": "Bsf", "Operands": ["edx", "dword ptr [eax]"] }]
|
||||
|
||||
# BSR - Bit Scan Reverse
|
||||
0FBDC1;[{ "Type": "Bsr", "Operands": ["eax", "ecx"] }]
|
||||
0FBDD9;[{ "Type": "Bsr", "Operands": ["ebx", "ecx"] }]
|
||||
0FBDCA;[{ "Type": "Bsr", "Operands": ["ecx", "edx"] }]
|
||||
0FBD0425;[{ "Type": "Bsr", "Operands": ["eax", "dword ptr [eax]"] }]
|
||||
0FBD0C25;[{ "Type": "Bsr", "Operands": ["ecx", "dword ptr [eax]"] }]
|
||||
0FBD1425;[{ "Type": "Bsr", "Operands": ["edx", "dword ptr [eax]"] }]
|
Can't render this file because it contains an unexpected character in line 6 and column 11.
|
Reference in New Issue
Block a user