Initial Commit

This commit is contained in:
2017-12-17 14:16:30 +00:00
parent 687e03b7c2
commit de38c1dab3
40 changed files with 1503 additions and 1 deletions

19
SVM/Instructions/SAVEI.cs Normal file
View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
namespace SVM.Instructions
{
class SAVEI : LOADI
{
public override string ASM => "SAVEI";
public override byte OP => 0x61;
protected override void Run(VM vm, byte reg)
{
vm.MEM[vm.RI] = (byte)vm.R[reg];
}
}
}