Cosmos/source/Tests/MathTest/Lost/LostTest.cs
LostTheBlack_cp 498f293c8a Added OO-based basic parts of AMD64 jitter:
[+] Registers enumeration (only GPRs)
[+] Basic class ProcessorInstruction
[+] Base class InstructionOperand it's child GeneralPurposeRegister
[+] Added some abstraction to DestSourceInstruction
[+] Added stub for first instruction - AddWithCarry
2008-03-31 06:59:34 +00:00

29 lines
604 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lost.JIT.AMD64;
using System.IO;
//using Cosmos.Build.Windows;
namespace Lost
{
class LostTest
{
[STAThread]
static void Main(string[] args)
{
//using (var source = new StreamReader(args[0]))
//{
// string srcLine;
// while ((srcLine = source.ReadLine()) != null)
// {
// var op = ProcessorInstruction.Parse(srcLine);
// Console.WriteLine(op);
// }
//}
Console.ReadKey();
}
}
}