mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-06-20 16:18:37 +03:00
Fixed floating point comparison handlers for FCOM ST(i) and FCOMP ST(i) instructions
This commit is contained in:
@ -35,7 +35,8 @@ public class FcompFloat32Handler : InstructionHandler
|
||||
byte modRm = Decoder.PeakByte();
|
||||
byte reg = (byte)((modRm >> 3) & 0x7);
|
||||
|
||||
return reg == 3;
|
||||
// special handling of modRM for D8 D8+i FCOMP ST(i)
|
||||
return reg == 3 && modRm is < 0xD8 or > 0xDE;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user