mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 05:52:11 +00:00
Added the x86-instructions 'LEA', 'RDTSC' and 'RDMSR'. Added a simplistic plug for 'system::datetime', which now contains the method for fetching the current date/time
19 lines
431 B
C#
19 lines
431 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace Cosmos.Assembler.x86
|
|
{
|
|
/// <summary>
|
|
/// Represents the RDMSR-instruction (read model specific register, 0x0f 0x32)
|
|
/// </summary>
|
|
[Cosmos.Assembler.OpCode("rdmsr")]
|
|
public class Rdmsr
|
|
: InstructionWithDestinationAndSourceAndSize
|
|
{
|
|
public Rdmsr() : base("rdmsr")
|
|
{
|
|
}
|
|
}
|
|
}
|