mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-31 21:30:19 +00:00
20 lines
672 B
C#
20 lines
672 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Indy.IL2CPU.Assembler.X86 {
|
|
[OpCode("mov")]
|
|
public class Move: InstructionWithDestinationAndSourceAndSize {
|
|
public static void InitializeEncodingData(Instruction.InstructionData aData){
|
|
aData.EncodingOptions.Add(new InstructionData.InstructionEncodingOption {
|
|
OpCode = new byte[] { 0xC6 },
|
|
NeedsModRMByte=true,
|
|
OperandSizeByte=0,
|
|
DestinationReg=Guid.Empty,
|
|
DestinationRegByte=1,
|
|
SourceImmediate=true
|
|
});
|
|
}
|
|
}
|
|
}
|