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

47 lines
2.2 KiB
CSV

# FSUBR instruction tests
# Format: RawBytes;Instructions
RawBytes;Instructions
# FSUBR - Subtract floating point values (reversed)
# ST(0), ST(i) form (D8 E8+i)
D8E8;[{ "Type": "Fsubr", "Operands": ["ST(0)", "ST(0)"] }]
D8E9;[{ "Type": "Fsubr", "Operands": ["ST(0)", "ST(1)"] }]
D8EA;[{ "Type": "Fsubr", "Operands": ["ST(0)", "ST(2)"] }]
D8EB;[{ "Type": "Fsubr", "Operands": ["ST(0)", "ST(3)"] }]
D8EC;[{ "Type": "Fsubr", "Operands": ["ST(0)", "ST(4)"] }]
D8ED;[{ "Type": "Fsubr", "Operands": ["ST(0)", "ST(5)"] }]
D8EE;[{ "Type": "Fsubr", "Operands": ["ST(0)", "ST(6)"] }]
D8EF;[{ "Type": "Fsubr", "Operands": ["ST(0)", "ST(7)"] }]
# ST(i), ST(0) form (DC E0+i)
DCE0;[{ "Type": "Fsubr", "Operands": ["ST(0)", "ST(0)"] }]
DCE1;[{ "Type": "Fsubr", "Operands": ["ST(1)", "ST(0)"] }]
DCE2;[{ "Type": "Fsubr", "Operands": ["ST(2)", "ST(0)"] }]
DCE3;[{ "Type": "Fsubr", "Operands": ["ST(3)", "ST(0)"] }]
DCE4;[{ "Type": "Fsubr", "Operands": ["ST(4)", "ST(0)"] }]
DCE5;[{ "Type": "Fsubr", "Operands": ["ST(5)", "ST(0)"] }]
DCE6;[{ "Type": "Fsubr", "Operands": ["ST(6)", "ST(0)"] }]
DCE7;[{ "Type": "Fsubr", "Operands": ["ST(7)", "ST(0)"] }]
# Memory operands
D82D10000000;[{ "Type": "Fsubr", "Operands": ["dword ptr [0x10]"] }]
DC2D10000000;[{ "Type": "Fsubr", "Operands": ["qword ptr [0x10]"] }]
D828;[{ "Type": "Fsubr", "Operands": ["dword ptr [eax]"] }]
DC28;[{ "Type": "Fsubr", "Operands": ["qword ptr [eax]"] }]
# FSUBRP - Subtract floating point values (reversed) and pop
DEE0;[{ "Type": "Fsubrp", "Operands": ["ST(0)", "ST(0)"] }]
DEE1;[{ "Type": "Fsubrp", "Operands": ["ST(1)", "ST(0)"] }]
DEE2;[{ "Type": "Fsubrp", "Operands": ["ST(2)", "ST(0)"] }]
DEE3;[{ "Type": "Fsubrp", "Operands": ["ST(3)", "ST(0)"] }]
DEE4;[{ "Type": "Fsubrp", "Operands": ["ST(4)", "ST(0)"] }]
DEE5;[{ "Type": "Fsubrp", "Operands": ["ST(5)", "ST(0)"] }]
DEE6;[{ "Type": "Fsubrp", "Operands": ["ST(6)", "ST(0)"] }]
DEE7;[{ "Type": "Fsubrp", "Operands": ["ST(7)", "ST(0)"] }]
# FISUBR - Subtract floating point from integer (reversed)
DA2D10000000;[{ "Type": "Fisubr", "Operands": ["dword ptr [0x10]"] }]
DE2D10000000;[{ "Type": "Fisubr", "Operands": ["word ptr [0x10]"] }]
DA28;[{ "Type": "Fisubr", "Operands": ["dword ptr [eax]"] }]
DE28;[{ "Type": "Fisubr", "Operands": ["word ptr [eax]"] }]