Начало
This commit is contained in:
commit
d17ffc5a4e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
Labas/.vs
|
||||||
BIN
Labas/Debug/Laba1.exe
Normal file
BIN
Labas/Debug/Laba1.exe
Normal file
Binary file not shown.
BIN
Labas/Debug/Laba1.pdb
Normal file
BIN
Labas/Debug/Laba1.pdb
Normal file
Binary file not shown.
11
Labas/Laba1/Debug/Laba1.exe.recipe
Normal file
11
Labas/Laba1/Debug/Laba1.exe.recipe
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project>
|
||||||
|
<ProjectOutputs>
|
||||||
|
<ProjectOutput>
|
||||||
|
<FullPath>D:\Учёба\АСВТ\Labas\Debug\Laba1.exe</FullPath>
|
||||||
|
</ProjectOutput>
|
||||||
|
</ProjectOutputs>
|
||||||
|
<ContentFiles />
|
||||||
|
<SatelliteDlls />
|
||||||
|
<NonRecipeFileRefs />
|
||||||
|
</Project>
|
||||||
BIN
Labas/Laba1/Debug/Laba1.ilk
Normal file
BIN
Labas/Laba1/Debug/Laba1.ilk
Normal file
Binary file not shown.
2
Labas/Laba1/Debug/Laba1.log
Normal file
2
Labas/Laba1/Debug/Laba1.log
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Assembling main.asm...
|
||||||
|
Laba1.vcxproj -> D:\Учёба\АСВТ\Labas\Debug\Laba1.exe
|
||||||
2
Labas/Laba1/Debug/Laba1.tlog/Laba1.lastbuildstate
Normal file
2
Labas/Laba1/Debug/Laba1.tlog/Laba1.lastbuildstate
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
PlatformToolSet=v143:VCToolArchitecture=Native32Bit:VCToolsVersion=14.44.35207:TargetPlatformVersion=10.0.26100.0:
|
||||||
|
Debug|Win32|D:\Учёба\АСВТ\Labas\|
|
||||||
BIN
Labas/Laba1/Debug/Laba1.tlog/Masm.read.1u.tlog
Normal file
BIN
Labas/Laba1/Debug/Laba1.tlog/Masm.read.1u.tlog
Normal file
Binary file not shown.
BIN
Labas/Laba1/Debug/Laba1.tlog/Masm.write.1u.tlog
Normal file
BIN
Labas/Laba1/Debug/Laba1.tlog/Masm.write.1u.tlog
Normal file
Binary file not shown.
BIN
Labas/Laba1/Debug/Laba1.tlog/link.command.1.tlog
Normal file
BIN
Labas/Laba1/Debug/Laba1.tlog/link.command.1.tlog
Normal file
Binary file not shown.
BIN
Labas/Laba1/Debug/Laba1.tlog/link.read.1.tlog
Normal file
BIN
Labas/Laba1/Debug/Laba1.tlog/link.read.1.tlog
Normal file
Binary file not shown.
2
Labas/Laba1/Debug/Laba1.tlog/link.secondary.1.tlog
Normal file
2
Labas/Laba1/Debug/Laba1.tlog/link.secondary.1.tlog
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
^D:\УЧЁБА\АСВТ\LABAS\LABA1\DEBUG\MAIN.OBJ
|
||||||
|
D:\Учёба\АСВТ\Labas\Laba1\Debug\Laba1.ilk
|
||||||
BIN
Labas/Laba1/Debug/Laba1.tlog/link.write.1.tlog
Normal file
BIN
Labas/Laba1/Debug/Laba1.tlog/link.write.1.tlog
Normal file
Binary file not shown.
BIN
Labas/Laba1/Debug/main.obj
Normal file
BIN
Labas/Laba1/Debug/main.obj
Normal file
Binary file not shown.
137
Labas/Laba1/Laba1.vcxproj
Normal file
137
Labas/Laba1/Laba1.vcxproj
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<VCProjectVersion>17.0</VCProjectVersion>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<ProjectGuid>{11111e46-b878-43a1-92b5-01faa33febda}</ProjectGuid>
|
||||||
|
<RootNamespace>Laba1</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="Shared">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EntryPointSymbol>Start</EntryPointSymbol>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EntryPointSymbol>Start</EntryPointSymbol>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<MASM Include="main.asm">
|
||||||
|
<FileType>Document</FileType>
|
||||||
|
</MASM>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
22
Labas/Laba1/Laba1.vcxproj.filters
Normal file
22
Labas/Laba1/Laba1.vcxproj.filters
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Исходные файлы">
|
||||||
|
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Файлы заголовков">
|
||||||
|
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Файлы ресурсов">
|
||||||
|
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||||
|
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<MASM Include="main.asm">
|
||||||
|
<Filter>Исходные файлы</Filter>
|
||||||
|
</MASM>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
6
Labas/Laba1/Laba1.vcxproj.user
Normal file
6
Labas/Laba1/Laba1.vcxproj.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ShowAllFiles>true</ShowAllFiles>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
34
Labas/Laba1/main.asm
Normal file
34
Labas/Laba1/main.asm
Normal file
@ -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
|
||||||
7
Labas/Laba1/x64/Debug/Laba1.log
Normal file
7
Labas/Laba1/x64/Debug/Laba1.log
Normal file
@ -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".
|
||||||
2
Labas/Laba1/x64/Debug/Laba1.tlog/Laba1.lastbuildstate
Normal file
2
Labas/Laba1/x64/Debug/Laba1.tlog/Laba1.lastbuildstate
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.44.35207:TargetPlatformVersion=10.0.26100.0:
|
||||||
|
Debug|x64|D:\Учёба\АСВТ\Labas\|
|
||||||
BIN
Labas/Laba1/x64/Debug/Laba1.tlog/Masm.read.1u.tlog
Normal file
BIN
Labas/Laba1/x64/Debug/Laba1.tlog/Masm.read.1u.tlog
Normal file
Binary file not shown.
BIN
Labas/Laba1/x64/Debug/Laba1.tlog/Masm.write.1u.tlog
Normal file
BIN
Labas/Laba1/x64/Debug/Laba1.tlog/Masm.write.1u.tlog
Normal file
Binary file not shown.
0
Labas/Laba1/x64/Debug/Laba1.tlog/unsuccessfulbuild
Normal file
0
Labas/Laba1/x64/Debug/Laba1.tlog/unsuccessfulbuild
Normal file
31
Labas/Labas.sln
Normal file
31
Labas/Labas.sln
Normal file
@ -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
|
||||||
2
README.md
Normal file
2
README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Лабораторные работы по АСВТ
|
||||||
|
ИКТб-3301 Сырчин Алексей
|
||||||
BIN
~$тчёт 1.docx
Normal file
BIN
~$тчёт 1.docx
Normal file
Binary file not shown.
BIN
Отчёт 1.docx
Normal file
BIN
Отчёт 1.docx
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user