Changeset 75129 in vbox for trunk/src/VBox/Runtime/common/string/strncmp.asm
- Timestamp:
- Oct 28, 2018 5:00:27 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/strncmp.asm
r69219 r75129 30 30 31 31 ;; 32 ; @param psz1 gcc: rdi msc: rcx x86:[esp+4] 33 ; @param psz2 gcc: rsi msc: rdx x86:[esp+8] 34 ; @param cch gcc: rdx msc: r8 x86:[esp+12] 32 ; @param psz1 gcc: rdi msc: rcx x86:[esp+4] wcall: eax 33 ; @param psz2 gcc: rsi msc: rdx x86:[esp+8] wcall: edx 34 ; @param cch gcc: rdx msc: r8 x86:[esp+12] wcall: ebx 35 35 RT_NOCRT_BEGINPROC strncmp 36 36 ; input … … 45 45 %define cch rdx 46 46 %endif 47 %elifdef ASM_CALL32_WATCOM 48 mov ecx, eax 49 %define psz1 ecx 50 %define psz2 edx 51 %define cch ebx 52 47 53 %elifdef RT_ARCH_X86 48 54 mov ecx, [esp + 4] … … 105 111 .equal: 106 112 xor eax, eax 107 %ifdef RT_ARCH_X86 113 %ifndef ASM_CALL32_WATCOM 114 %ifdef RT_ARCH_X86 108 115 pop ebx 116 %endif 109 117 %endif 110 118 ret … … 114 122 and eax, 0ffh 115 123 sub eax, ecx 116 %ifdef RT_ARCH_X86 124 %ifndef ASM_CALL32_WATCOM 125 %ifdef RT_ARCH_X86 117 126 pop ebx 127 %endif 118 128 %endif 119 129 ret
Note:
See TracChangeset
for help on using the changeset viewer.