Files
lba1-classic/LIB386/LIB_MENU/ASM_SORT.ASM
Gwen Gourevich c5f4f6ba25 Initial commit
2021-10-27 10:34:18 +02:00

42 lines
648 B
NASM

.386P
.model SMALL, SYSCALL
;----------------------------------------------------------------------------
.data
;----------------------------------------------------------------------------
public NoLanguage MySortCompFunc
strcmp proto SYSCALL
.code
;//-------------------------------------------------------------------------
MySortCompFunc proc uses ebx ecx edx esi edi ebp,\
ptra:DWORD, ptrb:DWORD
mov eax, ptrb
mov ecx, ptra
push [eax]
push [ecx]
call strcmp
add esp, 8
ret
MySortCompFunc endp
;----------------------------------------------------------------------------
; The
End