Cosmos/source/Cosmos.Assembler/x86/Rdtsc.cs
Unknown6656 1fd7a0367c Added ASM instructions and basic DateTime-implementation
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
2016-08-14 06:06:30 +02:00

19 lines
425 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cosmos.Assembler.x86
{
/// <summary>
/// Represents the RDTSC-instruction (read timestamp counter, 0x0f 0x31)
/// </summary>
[Cosmos.Assembler.OpCode("rdtsc")]
public class Rdtsc
: InstructionWithDestinationAndSourceAndSize
{
public Rdtsc() : base("rdtsc")
{
}
}
}