mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-22 05:48:37 +00:00
16 lines
No EOL
586 B
C#
16 lines
No EOL
586 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Compiler.Assembler.X86 {
|
|
[OpCode("stosw")]
|
|
public class StoreWordInString: Instruction {
|
|
#warning todo: merge with StoreByteInString, and inherit from InstructionWithSize, like what's done with RepeatMovs
|
|
public static void InitializeEncodingData(Instruction.InstructionData aData) {
|
|
aData.EncodingOptions.Add(new InstructionData.InstructionEncodingOption {
|
|
OpCode = new byte[] { 0x66, 0xAB }
|
|
});
|
|
}
|
|
}
|
|
} |