Cosmos/source/Indy.IL2CPU/Assembler/x86/Not.cs
mterwoord_cp 5592cd1f90
2008-11-23 18:45:34 +00:00

25 lines
899 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler.X86 {
[OpCode("not")]
public class Not: InstructionWithDestinationAndSize {
public static void InitializeEncodingData(Instruction.InstructionData aData) {
aData.EncodingOptions.Add(new InstructionData.InstructionEncodingOption {
OpCode = new byte[] { 0xF6 },
DestinationMemory = true,
NeedsModRMByte=true,
InitialModRMByteValue = 0x10
}); // memory
aData.EncodingOptions.Add(new InstructionData.InstructionEncodingOption {
OpCode = new byte[] { 0xF6 },
DestinationMemory = true,
NeedsModRMByte = true,
InitialModRMByteValue = 0xD0
}); // register
}
}
}