daily update on 20230415 by nitload youmu

This commit is contained in:
Nitload
2023-04-15 04:03:14 +08:00
parent 0995a1c501
commit a305aab094
84 changed files with 357 additions and 139 deletions
Binary file not shown.
Binary file not shown.
+30
View File
@@ -0,0 +1,30 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32825.248
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Asm", "Asm.vcxproj", "{396B053C-CE3C-40A1-AC57-F25F0EEDE910}"
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
{396B053C-CE3C-40A1-AC57-F25F0EEDE910}.Debug|x64.ActiveCfg = Debug|x64
{396B053C-CE3C-40A1-AC57-F25F0EEDE910}.Debug|x86.ActiveCfg = Debug|Win32
{396B053C-CE3C-40A1-AC57-F25F0EEDE910}.Debug|x86.Build.0 = Debug|Win32
{396B053C-CE3C-40A1-AC57-F25F0EEDE910}.Release|x64.ActiveCfg = Release|x64
{396B053C-CE3C-40A1-AC57-F25F0EEDE910}.Release|x64.Build.0 = Release|x64
{396B053C-CE3C-40A1-AC57-F25F0EEDE910}.Release|x86.ActiveCfg = Release|Win32
{396B053C-CE3C-40A1-AC57-F25F0EEDE910}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {74D9C0A1-8196-4FFA-BCF9-EBC39FA657DB}
EndGlobalSection
EndGlobal
@@ -21,8 +21,8 @@
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{ccb13811-6071-41c7-89a1-8b38fb5e4f88}</ProjectGuid>
<RootNamespace>AsmMath</RootNamespace>
<ProjectGuid>{396b053c-ce3c-40a1-ac57-f25f0eede910}</ProjectGuid>
<RootNamespace>Asm</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
@@ -129,7 +129,7 @@
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<None Include="Sqrt0001.asm" />
<MASM Include="源.asm" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
@@ -15,8 +15,8 @@
</Filter>
</ItemGroup>
<ItemGroup>
<None Include="Sqrt0001.asm">
<MASM Include="源.asm">
<Filter>源文件</Filter>
</None>
</MASM>
</ItemGroup>
</Project>
Binary file not shown.
Binary file not shown.
-31
View File
@@ -1,31 +0,0 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.3.32825.248
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AsmMath", "AsmMath\AsmMath.vcxproj", "{CCB13811-6071-41C7-89A1-8B38FB5E4F88}"
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
{CCB13811-6071-41C7-89A1-8B38FB5E4F88}.Debug|x64.ActiveCfg = Debug|x64
{CCB13811-6071-41C7-89A1-8B38FB5E4F88}.Debug|x64.Build.0 = Debug|x64
{CCB13811-6071-41C7-89A1-8B38FB5E4F88}.Debug|x86.ActiveCfg = Debug|Win32
{CCB13811-6071-41C7-89A1-8B38FB5E4F88}.Debug|x86.Build.0 = Debug|Win32
{CCB13811-6071-41C7-89A1-8B38FB5E4F88}.Release|x64.ActiveCfg = Release|x64
{CCB13811-6071-41C7-89A1-8B38FB5E4F88}.Release|x64.Build.0 = Release|x64
{CCB13811-6071-41C7-89A1-8B38FB5E4F88}.Release|x86.ActiveCfg = Release|Win32
{CCB13811-6071-41C7-89A1-8B38FB5E4F88}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8B0B3302-27E0-48A7-B209-463812E1A51A}
EndGlobalSection
EndGlobal
-69
View File
@@ -1,69 +0,0 @@
; Attributes: bp-based frame fpd=1A0h
; int main(...)
main proc near
frame= byte ptr -1C0h
var_1A0= byte ptr -1A0h
var_19C= dword ptr -19Ch
var_178= dword ptr -178h
var_148= qword ptr -148h
var_120= xmmword ptr -120h
var_F0= xmmword ptr -0F0h
var_18= qword ptr -18h
; __unwind { // j___GSHandlerCheck
push rbp
push rdi
sub rsp, 1B8h
lea rbp, [rsp+20h]
__$EncStackInitStart:
lea rdi, [rsp+1C0h+var_1A0]
mov ecx, 36h ; '6'
mov eax, 0CCCCCCCCh
rep stosd
__$EncStackInitEnd:
mov rax, cs:__security_cookie
xor rax, rbp
mov [rbp+1A0h+var_18], rax
lea rcx, __41B3B322_AsmSqrt@c ; JMC_flag
call j___CheckForDebuggerJustMyCode
movss xmm0, cs:__real@40800000
movss [rbp+1A0h+var_19C], xmm0
lea rax, [rbp+1A0h+var_19C]
mov [rbp+1A0h+var_148], rax
mov rax, [rbp+1A0h+var_148]
movss xmm0, dword ptr [rax]
xorps xmm1, xmm1
movss xmm1, xmm0
movaps xmm0, xmm1
movaps [rbp+1A0h+var_120], xmm0
movaps xmm0, [rbp+1A0h+var_120]
sqrtss xmm0, xmm0
movaps [rbp+1A0h+var_F0], xmm0
movaps xmm0, [rbp+1A0h+var_F0]
movss [rbp+1A0h+var_178], xmm0
mov eax, 4
imul rax, 0
cvtss2sd xmm0, [rbp+rax+1A0h+var_178]
movaps xmm1, xmm0
movq rdx, xmm1
lea rcx, _Format ; "%f"
call j_printf
xor eax, eax
mov edi, eax
lea rcx, [rbp+1A0h+frame] ; frame
lea rdx, v ; v
call j__RTC_CheckStackVars
mov eax, edi
mov rcx, [rbp+1A0h+var_18]
xor rcx, rbp ; StackCookie
call j___security_check_cookie
lea rsp, [rbp+198h]
pop rdi
pop rbp
retn
; } // starts at 140011870
main endp
@@ -1 +0,0 @@

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,7 +2,7 @@
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\Math\Asm\AsmMath\x64\Debug\AsmMath.exe</FullPath>
<FullPath>D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\Math\Asm\x64\Debug\Asm.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
Binary file not shown.
+2
View File
@@ -0,0 +1,2 @@
Assembling 源.asm...
Asm.vcxproj -> D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\Math\Asm\x64\Debug\Asm.exe
Binary file not shown.
@@ -1,2 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.33.31629:TargetPlatformVersion=10.0.19041.0:
Debug|x64|D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\Math\Asm\AsmMath\|
Debug|x64|D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\Math\Asm\|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
D:\NitloadIndustry\研究项目\1-Flagship\TH2020\ProjectFile\Math\Asm\x64\Debug\Asm.exe
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
.code;代码段
main proc;a函数开始
mov rax,120
add rax,34
sub rax,130
;movhpd xmm0,12
ret
main endp;a函数结束
end