Changeset 75129 in vbox for trunk/src/VBox/Runtime/common/string/strncpy.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/strncpy.asm
r69219 r75129 30 30 31 31 ;; 32 ; @param pszDst gcc: rdi msc: rcx x86:[esp+4] 33 ; @param pszSrc gcc: rsi msc: rdx x86:[esp+8] 34 ; @param cbMax gcc: rdx msc: r8 x86:[esp+12] 32 ; @param pszDst gcc: rdi msc: rcx x86:[esp+4] wcall: eax 33 ; @param pszSrc gcc: rsi msc: rdx x86:[esp+8] wcall: edx 34 ; @param cbMax gcc: rdx msc: r8 x86:[esp+12] wcall: ebx 35 35 RT_NOCRT_BEGINPROC strncpy 36 36 ; input … … 47 47 mov r9, pszDst 48 48 %else 49 %ifdef ASM_CALL32_WATCOM 50 mov ecx, eax 51 %define pszDst ecx 52 %define pszSrc edx 53 %define cbMax ebx 54 %else 49 55 mov ecx, [esp + 4] 50 56 mov edx, [esp + 8] … … 54 60 %define pszSrc edx 55 61 %define cbMax ebx 62 %endif 56 63 push pszDst 57 64 %endif … … 113 120 mov rax, r9 114 121 %else 122 %ifndef ASM_CALL32_WATCOM 115 123 pop ebx 124 %endif 116 125 pop eax 117 126 %endif
Note:
See TracChangeset
for help on using the changeset viewer.