Category : OS/2 Files
Archive   : RUNDLL.ZIP
Filename : POP.ASM

 
Output of file : POP.ASM contained in archive : RUNDLL.ZIP
; pop.asm

DOSSEG
.MODEL large
.CODE pop_text
PUBLIC _pop, _sp

_pop proc far
; save away far return address
pop cx
pop bx
; pop word off stack and return it in AX
pop ax
; push far return address back on stack
push bx
push cx
ret
_pop endp

; useful for testing
_sp proc far
mov ax,sp
ret
_sp endp

end




  3 Responses to “Category : OS/2 Files
Archive   : RUNDLL.ZIP
Filename : POP.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/