2025-04-15 22:20:46 +03:00
|
|
|
# Bit manipulation instruction tests
|
|
|
|
# Format: RawBytes;Instructions
|
|
|
|
RawBytes;Instructions
|
|
|
|
|
2025-04-17 01:33:58 +03:00
|
|
|
# BT - Bit Test (Immediate)
|
|
|
|
0FBA2005;[{ "Type": "Bt", "Operands": ["dword ptr [eax]", "0x05"] }]
|
|
|
|
0FBA650005;[{ "Type": "Bt", "Operands": ["dword ptr [ebp+0x00]", "0x05"] }]
|
|
|
|
0FBA2305;[{ "Type": "Bt", "Operands": ["dword ptr [ebx]", "0x05"] }]
|
|
|
|
0FBA2105;[{ "Type": "Bt", "Operands": ["dword ptr [ecx]", "0x05"] }]
|
|
|
|
0FBA2205;[{ "Type": "Bt", "Operands": ["dword ptr [edx]", "0x05"] }]
|
|
|
|
|
|
|
|
# BTS - Bit Test and Set (Immediate)
|
|
|
|
0FBAA805;[{ "Type": "Bts", "Operands": ["dword ptr [eax]", "0x05"] }]
|
|
|
|
0FBA6D0005;[{ "Type": "Bts", "Operands": ["dword ptr [ebp+0x00]", "0x05"] }]
|
|
|
|
0FBAAB05;[{ "Type": "Bts", "Operands": ["dword ptr [ebx]", "0x05"] }]
|
|
|
|
0FBAA905;[{ "Type": "Bts", "Operands": ["dword ptr [ecx]", "0x05"] }]
|
|
|
|
0FBAAA05;[{ "Type": "Bts", "Operands": ["dword ptr [edx]", "0x05"] }]
|
|
|
|
|
|
|
|
# BTR - Bit Test and Reset (Immediate)
|
|
|
|
0FBAB005;[{ "Type": "Btr", "Operands": ["dword ptr [eax]", "0x05"] }]
|
|
|
|
0FBA750005;[{ "Type": "Btr", "Operands": ["dword ptr [ebp+0x00]", "0x05"] }]
|
|
|
|
0FBAB305;[{ "Type": "Btr", "Operands": ["dword ptr [ebx]", "0x05"] }]
|
|
|
|
0FBAB105;[{ "Type": "Btr", "Operands": ["dword ptr [ecx]", "0x05"] }]
|
|
|
|
0FBAB205;[{ "Type": "Btr", "Operands": ["dword ptr [edx]", "0x05"] }]
|
|
|
|
|
|
|
|
# BTC - Bit Test and Complement (Immediate)
|
|
|
|
0FBAB805;[{ "Type": "Btc", "Operands": ["dword ptr [eax]", "0x05"] }]
|
|
|
|
0FBA7D0005;[{ "Type": "Btc", "Operands": ["dword ptr [ebp+0x00]", "0x05"] }]
|
|
|
|
0FBABB05;[{ "Type": "Btc", "Operands": ["dword ptr [ebx]", "0x05"] }]
|
|
|
|
0FBAB905;[{ "Type": "Btc", "Operands": ["dword ptr [ecx]", "0x05"] }]
|
|
|
|
0FBABA05;[{ "Type": "Btc", "Operands": ["dword ptr [edx]", "0x05"] }]
|
|
|
|
|
2025-04-15 22:20:46 +03:00
|
|
|
# BT - Bit Test
|
|
|
|
0FA3C1;[{ "Type": "Bt", "Operands": ["ecx", "eax"] }]
|
|
|
|
0FA3D9;[{ "Type": "Bt", "Operands": ["ecx", "ebx"] }]
|
|
|
|
0FA3CA;[{ "Type": "Bt", "Operands": ["edx", "ecx"] }]
|
2025-04-15 22:32:37 +03:00
|
|
|
0FA3E2;[{ "Type": "Bt", "Operands": ["edx", "esp"] }]
|
|
|
|
0FA3F6;[{ "Type": "Bt", "Operands": ["esi", "esi"] }]
|
2025-04-15 22:20:46 +03:00
|
|
|
|
|
|
|
# BTS - Bit Test and Set
|
|
|
|
0FABC1;[{ "Type": "Bts", "Operands": ["ecx", "eax"] }]
|
|
|
|
0FABD9;[{ "Type": "Bts", "Operands": ["ecx", "ebx"] }]
|
|
|
|
0FABCA;[{ "Type": "Bts", "Operands": ["edx", "ecx"] }]
|
2025-04-15 22:32:37 +03:00
|
|
|
0FABE2;[{ "Type": "Bts", "Operands": ["edx", "esp"] }]
|
|
|
|
0FABF6;[{ "Type": "Bts", "Operands": ["esi", "esi"] }]
|
2025-04-15 22:20:46 +03:00
|
|
|
|
|
|
|
# BTR - Bit Test and Reset
|
|
|
|
0FB3C1;[{ "Type": "Btr", "Operands": ["ecx", "eax"] }]
|
|
|
|
0FB3D9;[{ "Type": "Btr", "Operands": ["ecx", "ebx"] }]
|
|
|
|
0FB3CA;[{ "Type": "Btr", "Operands": ["edx", "ecx"] }]
|
2025-04-15 22:32:37 +03:00
|
|
|
0FB3E2;[{ "Type": "Btr", "Operands": ["edx", "esp"] }]
|
|
|
|
0FB3F6;[{ "Type": "Btr", "Operands": ["esi", "esi"] }]
|
2025-04-17 01:33:58 +03:00
|
|
|
|
|
|
|
# BSF - Bit Scan Forward
|
|
|
|
0FBCC1;[{ "Type": "Bsf", "Operands": ["eax", "ecx"] }]
|
|
|
|
0FBCD9;[{ "Type": "Bsf", "Operands": ["ebx", "ecx"] }]
|
|
|
|
0FBCCA;[{ "Type": "Bsf", "Operands": ["ecx", "edx"] }]
|
|
|
|
0FBCE2;[{ "Type": "Bsf", "Operands": ["esp", "edx"] }]
|
|
|
|
0FBCF6;[{ "Type": "Bsf", "Operands": ["esi", "esi"] }]
|
2025-04-15 22:20:46 +03:00
|
|
|
|
|
|
|
# BTC - Bit Test and Complement
|
|
|
|
0FBBC1;[{ "Type": "Btc", "Operands": ["ecx", "eax"] }]
|
|
|
|
0FBBD9;[{ "Type": "Btc", "Operands": ["ecx", "ebx"] }]
|
|
|
|
0FBBCA;[{ "Type": "Btc", "Operands": ["edx", "ecx"] }]
|
2025-04-15 22:32:37 +03:00
|
|
|
0FBBE2;[{ "Type": "Btc", "Operands": ["edx", "esp"] }]
|
|
|
|
0FBBF6;[{ "Type": "Btc", "Operands": ["esi", "esi"] }]
|
2025-04-15 22:20:46 +03:00
|
|
|
|
|
|
|
# BSF - Bit Scan Forward
|
2025-04-17 01:33:58 +03:00
|
|
|
0FBC00;[{ "Type": "Bsf", "Operands": ["eax", "dword ptr [eax]"] }]
|
|
|
|
0FBC08;[{ "Type": "Bsf", "Operands": ["ecx", "dword ptr [eax]"] }]
|
|
|
|
0FBC10;[{ "Type": "Bsf", "Operands": ["edx", "dword ptr [eax]"] }]
|
|
|
|
0FBC18;[{ "Type": "Bsf", "Operands": ["ebx", "dword ptr [eax]"] }]
|
|
|
|
0FBC20;[{ "Type": "Bsf", "Operands": ["esp", "dword ptr [eax]"] }]
|
2025-04-15 22:20:46 +03:00
|
|
|
|
|
|
|
# BSR - Bit Scan Reverse
|
|
|
|
0FBDC1;[{ "Type": "Bsr", "Operands": ["eax", "ecx"] }]
|
|
|
|
0FBDD9;[{ "Type": "Bsr", "Operands": ["ebx", "ecx"] }]
|
|
|
|
0FBDCA;[{ "Type": "Bsr", "Operands": ["ecx", "edx"] }]
|
2025-04-15 22:32:37 +03:00
|
|
|
0FBDE2;[{ "Type": "Bsr", "Operands": ["esp", "edx"] }]
|
|
|
|
0FBDF6;[{ "Type": "Bsr", "Operands": ["esi", "esi"] }]
|
2025-04-17 01:33:58 +03:00
|
|
|
0FBD00;[{ "Type": "Bsr", "Operands": ["eax", "dword ptr [eax]"] }]
|
|
|
|
0FBD08;[{ "Type": "Bsr", "Operands": ["ecx", "dword ptr [eax]"] }]
|
|
|
|
0FBD10;[{ "Type": "Bsr", "Operands": ["edx", "dword ptr [eax]"] }]
|
|
|
|
0FBD18;[{ "Type": "Bsr", "Operands": ["ebx", "dword ptr [eax]"] }]
|
|
|
|
0FBD20;[{ "Type": "Bsr", "Operands": ["esp", "dword ptr [eax]"] }]
|