Category : Assembly Language Source Code
Archive   : TASMSWAN.ZIP
Filename : CSHELL.ASM

 
Output of file : CSHELL.ASM contained in archive : TASMSWAN.ZIP
%TITLE "Shell for Turbo C *.OBJ modules"

IDEAL
MODEL small

DATASEG

;------ Insert PUBLIC data declarations here

;------ Insert EXTRN data declarations here

;------ Insert initialized variables here

FARDATA
;------ Insert far-data-segment variables here

CODESEG
;------ Insert PUBLIC code declarations here

;------ Insert EXTRN code declarations here

%NEWPAGE
;-----------------------------------------------------------------------
; funcname( )
;-----------------------------------------------------------------------
PROC funcname NEAR
push bp
mov bp,sp

; sub sp,n ;Optional: reserve space for locals
; push di ;Optional: save register var di
; push si ;Optional: save register var si

;------ Insert instructions here

; pop si ;Optional: restore si
; pop di ;Optional: restore di
; mov sp,bp ;Optional: restore sp

pop bp ;restore old bp pointer
ret ;return to caller
ENDP funcname

END


  3 Responses to “Category : Assembly Language Source Code
Archive   : TASMSWAN.ZIP
Filename : CSHELL.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/