From 569b1517b0e4e0457f777ce69137746c52b5e778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferit=20Yi=C4=9Fit=20BALABAN?= Date: Thu, 28 Oct 2021 22:58:56 +0300 Subject: [PATCH] Added descriptions of opcodes --- DescriptionResource.Designer.cs | 325 ++++++++++++++++++++++++++++++++ DescriptionResource.resx | 240 +++++++++++++++++++++++ 2 files changed, 565 insertions(+) create mode 100644 DescriptionResource.Designer.cs create mode 100644 DescriptionResource.resx diff --git a/DescriptionResource.Designer.cs b/DescriptionResource.Designer.cs new file mode 100644 index 0000000..5fd81d7 --- /dev/null +++ b/DescriptionResource.Designer.cs @@ -0,0 +1,325 @@ +//------------------------------------------------------------------------------ +// +// Bu kod araç tarafından oluşturuldu. +// Çalışma Zamanı Sürümü:4.0.30319.42000 +// +// Bu dosyada yapılacak değişiklikler yanlış davranışa neden olabilir ve +// kod yeniden oluşturulursa kaybolur. +// +//------------------------------------------------------------------------------ + +namespace processor { + using System; + + + /// + /// Yerelleştirilmiş dizeleri aramak gibi işlemler için, türü kesin olarak belirtilmiş kaynak sınıfı. + /// + // Bu sınıf ResGen veya Visual Studio gibi bir araç kullanılarak StronglyTypedResourceBuilder + // sınıfı tarafından otomatik olarak oluşturuldu. + // Üye eklemek veya kaldırmak için .ResX dosyanızı düzenleyin ve sonra da ResGen + // komutunu /str seçeneğiyle yeniden çalıştırın veya VS projenizi yeniden oluşturun. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class DescriptionResource { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal DescriptionResource() { + } + + /// + /// Bu sınıf tarafından kullanılan, önbelleğe alınmış ResourceManager örneğini döndürür. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("processor.DescriptionResource", typeof(DescriptionResource).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Tümü için geçerli iş parçacığının CurrentUICulture özelliğini geçersiz kular + /// CurrentUICulture özelliğini tüm kaynak aramaları için geçersiz kılar. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// LOAD the register R with the bit pattern found in the + ///memory cell whose address is XY. + ///Example: 0x14A3 would cause the contents of the memory + ///cell located at address 0xA3 to be placed in register 0x4. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x1En { + get { + return ResourceManager.GetString("0x1En", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x1Tr { + get { + return ResourceManager.GetString("0x1Tr", resourceCulture); + } + } + + /// + /// LOAD the register R with the bit pattern XY. + ///Example: 0x20A3 would cause the value 0xA3 to be + ///placed in register 0. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x2En { + get { + return ResourceManager.GetString("0x2En", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x2Tr { + get { + return ResourceManager.GetString("0x2Tr", resourceCulture); + } + } + + /// + /// STORE the bit pattern found in register R in the memory + ///cell whose address is XY. + ///Example: 0x35B1 would cause the contents of register + ///0x5 to be placed in the memory cell whose address is + ///0xB1. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x3En { + get { + return ResourceManager.GetString("0x3En", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x3Tr { + get { + return ResourceManager.GetString("0x3Tr", resourceCulture); + } + } + + /// + /// MOVE the bit pattern found in register R to register S. + ///Example: 0x40A4 would cause the contents of register + ///0xA to be copied into register 0x4. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x4En { + get { + return ResourceManager.GetString("0x4En", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x4Tr { + get { + return ResourceManager.GetString("0x4Tr", resourceCulture); + } + } + + /// + /// ADD the bit patterns in registers S and T as though they + ///were two’s complement representations and leave the + ///result in register R. + ///Example: 0x5726 would cause the binary values in registers 0x2 and 0x6 to be added and the sum placed in + ///register 0x7. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x5En { + get { + return ResourceManager.GetString("0x5En", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x5Tr { + get { + return ResourceManager.GetString("0x5Tr", resourceCulture); + } + } + + /// + /// ADD the bit patterns in registers S and T as though they + ///represented values in floating-point notation and leave + ///the floating-point result in register R. + ///Example: 0x634E would cause the values in registers 0x4 + ///and 0xE to be added as floating-point values and the + ///result to be placed in register 0x3. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x6En { + get { + return ResourceManager.GetString("0x6En", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x6Tr { + get { + return ResourceManager.GetString("0x6Tr", resourceCulture); + } + } + + /// + /// OR the bit patterns in registers S and T and place the + ///result in register R. + ///Example: 0x7CB4 would cause the result of ORing the + ///contents of registers 0xB and 0x4 to be placed in register + ///0xC. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x7En { + get { + return ResourceManager.GetString("0x7En", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x7Tr { + get { + return ResourceManager.GetString("0x7Tr", resourceCulture); + } + } + + /// + /// AND the bit patterns in registers S and T and place the + ///result in register R. + ///Example: 0x8045 would cause the result of ANDing the + ///contents of registers 0x4 and 0x5 to be placed in register + ///0x0. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x8En { + get { + return ResourceManager.GetString("0x8En", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x8Tr { + get { + return ResourceManager.GetString("0x8Tr", resourceCulture); + } + } + + /// + /// XOR the bit patterns in registers S and T and place the + ///result in register R. + ///Example: 0x95F3 would cause the result of XORing the + ///contents of registers 0xF and 0x3 to be placed in register + ///0x5. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x9En { + get { + return ResourceManager.GetString("0x9En", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0x9Tr { + get { + return ResourceManager.GetString("0x9Tr", resourceCulture); + } + } + + /// + /// ROTATE the bit pattern in register R one bit to the right + ///X times. Each time, place the bit that started at the loworder end at the high-order end. + ///Example: 0xA403 would cause the contents of register + ///0x4 to be rotated 3 bits to the right in a circular fashion. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0xAEn { + get { + return ResourceManager.GetString("0xAEn", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0xATr { + get { + return ResourceManager.GetString("0xATr", resourceCulture); + } + } + + /// + /// JUMP to the instruction located in the memory cell at + ///address XY if the bit pattern in register R is equal to the + ///bit pattern in register number 0. Otherwise, continue + ///with the normal sequence of execution. (The jump is + ///implemented by copying XY into the program counter + ///during the execute phase.) + ///Example: 0xB43C would first compare the contents of + ///register 0x4 with the contents of register 0x0. If the two + ///were equal, the pattern 0x3C would be placed in the + ///program counter so that the next i [dizenin kalan bölümü kesildi]"; benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0xBEn { + get { + return ResourceManager.GetString("0xBEn", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0xBTr { + get { + return ResourceManager.GetString("0xBTr", resourceCulture); + } + } + + /// + /// HALT execution. + ///Example: 0xC000 would cause program execution to + ///stop. benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0xCEn { + get { + return ResourceManager.GetString("0xCEn", resourceCulture); + } + } + + /// + /// benzeri yerelleştirilmiş bir dize arar. + /// + internal static string _0xCTr { + get { + return ResourceManager.GetString("0xCTr", resourceCulture); + } + } + } +} diff --git a/DescriptionResource.resx b/DescriptionResource.resx new file mode 100644 index 0000000..18a1a93 --- /dev/null +++ b/DescriptionResource.resx @@ -0,0 +1,240 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + LOAD the register R with the bit pattern found in the +memory cell whose address is XY. +Example: 0x14A3 would cause the contents of the memory +cell located at address 0xA3 to be placed in register 0x4. + + + + + + LOAD the register R with the bit pattern XY. +Example: 0x20A3 would cause the value 0xA3 to be +placed in register 0. + + + + + + STORE the bit pattern found in register R in the memory +cell whose address is XY. +Example: 0x35B1 would cause the contents of register +0x5 to be placed in the memory cell whose address is +0xB1. + + + + + + MOVE the bit pattern found in register R to register S. +Example: 0x40A4 would cause the contents of register +0xA to be copied into register 0x4. + + + + + + ADD the bit patterns in registers S and T as though they +were two’s complement representations and leave the +result in register R. +Example: 0x5726 would cause the binary values in registers 0x2 and 0x6 to be added and the sum placed in +register 0x7. + + + + + + ADD the bit patterns in registers S and T as though they +represented values in floating-point notation and leave +the floating-point result in register R. +Example: 0x634E would cause the values in registers 0x4 +and 0xE to be added as floating-point values and the +result to be placed in register 0x3. + + + + + + OR the bit patterns in registers S and T and place the +result in register R. +Example: 0x7CB4 would cause the result of ORing the +contents of registers 0xB and 0x4 to be placed in register +0xC. + + + + + + AND the bit patterns in registers S and T and place the +result in register R. +Example: 0x8045 would cause the result of ANDing the +contents of registers 0x4 and 0x5 to be placed in register +0x0. + + + + + + XOR the bit patterns in registers S and T and place the +result in register R. +Example: 0x95F3 would cause the result of XORing the +contents of registers 0xF and 0x3 to be placed in register +0x5. + + + + + + ROTATE the bit pattern in register R one bit to the right +X times. Each time, place the bit that started at the loworder end at the high-order end. +Example: 0xA403 would cause the contents of register +0x4 to be rotated 3 bits to the right in a circular fashion. + + + + + + JUMP to the instruction located in the memory cell at +address XY if the bit pattern in register R is equal to the +bit pattern in register number 0. Otherwise, continue +with the normal sequence of execution. (The jump is +implemented by copying XY into the program counter +during the execute phase.) +Example: 0xB43C would first compare the contents of +register 0x4 with the contents of register 0x0. If the two +were equal, the pattern 0x3C would be placed in the +program counter so that the next instruction executed +would be the one located at that memory address. Otherwise, nothing would be done and program execution +would continue in its normal sequence. + + + + + + HALT execution. +Example: 0xC000 would cause program execution to +stop. + + + + + \ No newline at end of file