Category : Assembly Language Source Code
Archive   : FP16.ZIP
Filename : SUB.ASM

 
Output of file : SUB.ASM contained in archive : FP16.ZIP
Page 58, 80
comment |


Date: 10/22/92
Name: Sub.asm
Author: Michael J. Steiner

Description: Assembly function to subtract long's

|

.model small
.code

public _Sub
_Sub proc

push bp
mov bp,sp
sub sp,4

mov ax,[ bp + 06h ]
mov dx,[ bp + 04h ]
sub dx,[ bp + 08h ]
sbb ax,[ bp + 0Ah ]

xchg ax,dx
mov sp,bp
pop bp

ret

_Sub endp
end


  3 Responses to “Category : Assembly Language Source Code
Archive   : FP16.ZIP
Filename : SUB.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/