ReC98/libs/BorlandC/newfarry.asm

20 lines
298 B
NASM
Raw Normal View History

2014-10-24 01:00:29 +00:00
; operator new[](unsigned long size)
public @$bnwa$qul
@$bnwa$qul proc
2014-10-24 01:00:29 +00:00
@@size = dword ptr (cPtrSize + 2)
push bp
mov bp, sp
push si
push di
push word ptr [bp+@@size+2]
push word ptr [bp+@@size]
nopcall @$bnew$qul
pop cx
pop cx
pop di
pop si
pop bp
ret
@$bnwa$qul endp