mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-07-03 05:10:27 +03:00
Fixed floating point handlers for qword operands and added missing FCOM ST(0), ST(i) handler
This commit is contained in:
@ -51,8 +51,8 @@ public class FaddFloat64Handler : InstructionHandler
|
||||
return false;
|
||||
}
|
||||
|
||||
// Read the ModR/M byte using the specialized FPU method
|
||||
var (mod, reg, fpuRm, rawOperand) = ModRMDecoder.ReadModRMFpu();
|
||||
// Read the ModR/M byte using the specialized FPU method for 64-bit operands
|
||||
var (mod, reg, fpuRm, rawOperand) = ModRMDecoder.ReadModRMFpu64();
|
||||
|
||||
// Verify reg field is 0 (FADD)
|
||||
if (reg != 0)
|
||||
|
Reference in New Issue
Block a user