ReC98/libs/BorlandC/newarray.asm

18 lines
267 B
NASM
Raw Normal View History

2014-08-30 02:26:12 +00:00
; operator new[](unsigned int)
public @$bnwa$qui
@$bnwa$qui proc DIST
@@size = word ptr 2 + dPtrSize
push bp
mov bp, sp
push si
push di
push [bp+@@size]
nopcall @$bnew$qui ; operator new(uint)
pop cx
pop di
pop si
pop bp
ret
@$bnwa$qui endp