commit d17ffc5a4e932eb3c7af81ff9aea818661f0cf79 Author: Алексей Сырчин <59418327+AlexusLexus@users.noreply.github.com> Date: Fri Feb 20 19:46:05 2026 +0300 Начало diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f0b33a5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +Labas/.vs \ No newline at end of file diff --git a/Labas/Debug/Laba1.exe b/Labas/Debug/Laba1.exe new file mode 100644 index 0000000..7979695 Binary files /dev/null and b/Labas/Debug/Laba1.exe differ diff --git a/Labas/Debug/Laba1.pdb b/Labas/Debug/Laba1.pdb new file mode 100644 index 0000000..d2b2578 Binary files /dev/null and b/Labas/Debug/Laba1.pdb differ diff --git a/Labas/Laba1/Debug/Laba1.exe.recipe b/Labas/Laba1/Debug/Laba1.exe.recipe new file mode 100644 index 0000000..16d838a --- /dev/null +++ b/Labas/Laba1/Debug/Laba1.exe.recipe @@ -0,0 +1,11 @@ + + + + + D:\Учёба\АСВТ\Labas\Debug\Laba1.exe + + + + + + \ No newline at end of file diff --git a/Labas/Laba1/Debug/Laba1.ilk b/Labas/Laba1/Debug/Laba1.ilk new file mode 100644 index 0000000..0adcbc2 Binary files /dev/null and b/Labas/Laba1/Debug/Laba1.ilk differ diff --git a/Labas/Laba1/Debug/Laba1.log b/Labas/Laba1/Debug/Laba1.log new file mode 100644 index 0000000..b0a6bbb --- /dev/null +++ b/Labas/Laba1/Debug/Laba1.log @@ -0,0 +1,2 @@ + Assembling main.asm... + Laba1.vcxproj -> D:\Учёба\АСВТ\Labas\Debug\Laba1.exe diff --git a/Labas/Laba1/Debug/Laba1.tlog/Laba1.lastbuildstate b/Labas/Laba1/Debug/Laba1.tlog/Laba1.lastbuildstate new file mode 100644 index 0000000..4ab558f --- /dev/null +++ b/Labas/Laba1/Debug/Laba1.tlog/Laba1.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v143:VCToolArchitecture=Native32Bit:VCToolsVersion=14.44.35207:TargetPlatformVersion=10.0.26100.0: +Debug|Win32|D:\Учёба\АСВТ\Labas\| diff --git a/Labas/Laba1/Debug/Laba1.tlog/Masm.read.1u.tlog b/Labas/Laba1/Debug/Laba1.tlog/Masm.read.1u.tlog new file mode 100644 index 0000000..ccf95e2 Binary files /dev/null and b/Labas/Laba1/Debug/Laba1.tlog/Masm.read.1u.tlog differ diff --git a/Labas/Laba1/Debug/Laba1.tlog/Masm.write.1u.tlog b/Labas/Laba1/Debug/Laba1.tlog/Masm.write.1u.tlog new file mode 100644 index 0000000..162aae5 Binary files /dev/null and b/Labas/Laba1/Debug/Laba1.tlog/Masm.write.1u.tlog differ diff --git a/Labas/Laba1/Debug/Laba1.tlog/link.command.1.tlog b/Labas/Laba1/Debug/Laba1.tlog/link.command.1.tlog new file mode 100644 index 0000000..2288f8f Binary files /dev/null and b/Labas/Laba1/Debug/Laba1.tlog/link.command.1.tlog differ diff --git a/Labas/Laba1/Debug/Laba1.tlog/link.read.1.tlog b/Labas/Laba1/Debug/Laba1.tlog/link.read.1.tlog new file mode 100644 index 0000000..3b51b0f Binary files /dev/null and b/Labas/Laba1/Debug/Laba1.tlog/link.read.1.tlog differ diff --git a/Labas/Laba1/Debug/Laba1.tlog/link.secondary.1.tlog b/Labas/Laba1/Debug/Laba1.tlog/link.secondary.1.tlog new file mode 100644 index 0000000..c7dce12 --- /dev/null +++ b/Labas/Laba1/Debug/Laba1.tlog/link.secondary.1.tlog @@ -0,0 +1,2 @@ +^D:\УЧЁБА\АСВТ\LABAS\LABA1\DEBUG\MAIN.OBJ +D:\Учёба\АСВТ\Labas\Laba1\Debug\Laba1.ilk diff --git a/Labas/Laba1/Debug/Laba1.tlog/link.write.1.tlog b/Labas/Laba1/Debug/Laba1.tlog/link.write.1.tlog new file mode 100644 index 0000000..81cf9fa Binary files /dev/null and b/Labas/Laba1/Debug/Laba1.tlog/link.write.1.tlog differ diff --git a/Labas/Laba1/Debug/main.obj b/Labas/Laba1/Debug/main.obj new file mode 100644 index 0000000..25b1be1 Binary files /dev/null and b/Labas/Laba1/Debug/main.obj differ diff --git a/Labas/Laba1/Laba1.vcxproj b/Labas/Laba1/Laba1.vcxproj new file mode 100644 index 0000000..a1a66ee --- /dev/null +++ b/Labas/Laba1/Laba1.vcxproj @@ -0,0 +1,137 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 17.0 + Win32Proj + {11111e46-b878-43a1-92b5-01faa33febda} + Laba1 + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + Start + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + Start + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Document + + + + + + + \ No newline at end of file diff --git a/Labas/Laba1/Laba1.vcxproj.filters b/Labas/Laba1/Laba1.vcxproj.filters new file mode 100644 index 0000000..8998cbf --- /dev/null +++ b/Labas/Laba1/Laba1.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Исходные файлы + + + \ No newline at end of file diff --git a/Labas/Laba1/Laba1.vcxproj.user b/Labas/Laba1/Laba1.vcxproj.user new file mode 100644 index 0000000..966b4ff --- /dev/null +++ b/Labas/Laba1/Laba1.vcxproj.user @@ -0,0 +1,6 @@ + + + + true + + \ No newline at end of file diff --git a/Labas/Laba1/main.asm b/Labas/Laba1/main.asm new file mode 100644 index 0000000..47206d9 --- /dev/null +++ b/Labas/Laba1/main.asm @@ -0,0 +1,34 @@ +.686 +.model flat, stdcall +.stack 100h + +.data +X dw 15 +Y dw 79 +Z dw 81 +S1 dw ? + +.code +ExitProcess PROTO STDCALL :DWORD + +; M = ((X + Y) / 4) or (Z - Y - X) +Start: + mov ax, X + add ax, Y + + ;shr ax, 2 + xor dx, dx + mov bx, 4 + div bx + mov S1, ax + + mov ax, Z + sub ax, Y + sub ax, X + + or ax, S1 + +exit: + Invoke ExitProcess, ax + +END Start \ No newline at end of file diff --git a/Labas/Laba1/x64/Debug/Laba1.log b/Labas/Laba1/x64/Debug/Laba1.log new file mode 100644 index 0000000..4a5bd9d --- /dev/null +++ b/Labas/Laba1/x64/Debug/Laba1.log @@ -0,0 +1,7 @@ + Assembling main.asm... +main.asm(1): error A2008: syntax error : . +main.asm(2): error A2008: syntax error : . +main.asm(3): error A2008: syntax error : . +main.asm(15): error A2008: syntax error : Start +main.asm(15): error A2088: END directive required at end of file +D:\Visual Studio\MSBuild\Microsoft\VC\v170\BuildCustomizations\masm.targets(70,5): error MSB3721: выход из команды "ml64.exe /c /nologo /Zi /Fo"x64\Debug\main.obj" /W3 /errorReport:prompt /Tamain.asm" с кодом "1". diff --git a/Labas/Laba1/x64/Debug/Laba1.tlog/Laba1.lastbuildstate b/Labas/Laba1/x64/Debug/Laba1.tlog/Laba1.lastbuildstate new file mode 100644 index 0000000..7b09f25 --- /dev/null +++ b/Labas/Laba1/x64/Debug/Laba1.tlog/Laba1.lastbuildstate @@ -0,0 +1,2 @@ +PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.44.35207:TargetPlatformVersion=10.0.26100.0: +Debug|x64|D:\Учёба\АСВТ\Labas\| diff --git a/Labas/Laba1/x64/Debug/Laba1.tlog/Masm.read.1u.tlog b/Labas/Laba1/x64/Debug/Laba1.tlog/Masm.read.1u.tlog new file mode 100644 index 0000000..ccf95e2 Binary files /dev/null and b/Labas/Laba1/x64/Debug/Laba1.tlog/Masm.read.1u.tlog differ diff --git a/Labas/Laba1/x64/Debug/Laba1.tlog/Masm.write.1u.tlog b/Labas/Laba1/x64/Debug/Laba1.tlog/Masm.write.1u.tlog new file mode 100644 index 0000000..2f39303 Binary files /dev/null and b/Labas/Laba1/x64/Debug/Laba1.tlog/Masm.write.1u.tlog differ diff --git a/Labas/Laba1/x64/Debug/Laba1.tlog/unsuccessfulbuild b/Labas/Laba1/x64/Debug/Laba1.tlog/unsuccessfulbuild new file mode 100644 index 0000000..e69de29 diff --git a/Labas/Labas.sln b/Labas/Labas.sln new file mode 100644 index 0000000..d0f318f --- /dev/null +++ b/Labas/Labas.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.14.36518.9 d17.14 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Laba1", "Laba1\Laba1.vcxproj", "{11111E46-B878-43A1-92B5-01FAA33FEBDA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {11111E46-B878-43A1-92B5-01FAA33FEBDA}.Debug|x64.ActiveCfg = Debug|x64 + {11111E46-B878-43A1-92B5-01FAA33FEBDA}.Debug|x64.Build.0 = Debug|x64 + {11111E46-B878-43A1-92B5-01FAA33FEBDA}.Debug|x86.ActiveCfg = Debug|Win32 + {11111E46-B878-43A1-92B5-01FAA33FEBDA}.Debug|x86.Build.0 = Debug|Win32 + {11111E46-B878-43A1-92B5-01FAA33FEBDA}.Release|x64.ActiveCfg = Release|x64 + {11111E46-B878-43A1-92B5-01FAA33FEBDA}.Release|x64.Build.0 = Release|x64 + {11111E46-B878-43A1-92B5-01FAA33FEBDA}.Release|x86.ActiveCfg = Release|Win32 + {11111E46-B878-43A1-92B5-01FAA33FEBDA}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {1F2D2867-5265-4FF5-8FD5-E7B1AC3EB7ED} + EndGlobalSection +EndGlobal diff --git a/README.md b/README.md new file mode 100644 index 0000000..66a73ff --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +Лабораторные работы по АСВТ +ИКТб-3301 Сырчин Алексей \ No newline at end of file diff --git a/~$тчёт 1.docx b/~$тчёт 1.docx new file mode 100644 index 0000000..0f1d824 Binary files /dev/null and b/~$тчёт 1.docx differ diff --git a/Отчёт 1.docx b/Отчёт 1.docx new file mode 100644 index 0000000..dfe66ee Binary files /dev/null and b/Отчёт 1.docx differ