mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2026-08-15 15:07:48 +04: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 FcomFloat32Handler : InstructionHandler
|
||||
byte modRm = Decoder.PeakByte();
|
||||
byte reg = (byte)((modRm >> 3) & 0x7);
|
||||
|
||||
return reg == 2;
|
||||
// special handling of modRM for D8 D0+i FCOM ST(i)
|
||||
return reg == 2 && modRm is < 0xD0 or > 0xD7;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user