RedPanda-CPP/platform/windows/templates-win64/GAS_C/utils_zh_CN.s

17 lines
583 B
ArmAsm
Raw Normal View History

2023-03-09 10:36:14 +08:00
.text
.globl maxofthree
.globl add3
maxofthree:
#32int使ecx,eaxrcxrax
mov %ecx, %eax # xecxeax)
cmp %edx, %eax # xeaxyedx
cmovl %edx, %eax # xyy
cmp %r8d, %eax # xyeaxz
cmovl %r8d, %eax # zz
ret # eax
add3:
mov %ecx, %eax
add %edx, %eax
add %r8d, %eax
ret