Category : Assembly Language Source Code
Archive   : ASMTUT1.ZIP
Filename : TEMP1.ASM

 
Output of file : TEMP1.ASM contained in archive : ASMTUT1.ZIP

; put name of program here

; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
STACKSEG SEGMENT STACK 'STACK'

dw 200 dup (?)

STACKSEG ENDS
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DATASTUFF SEGMENT PUBLIC 'DATA'

; + + + + + + + + + + + + + + + START DATA BELOW THIS LINE

; + + + + + + + + + + + + + + + END DATA ABOVE THIS LINE

DATASTUFF ENDS
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CODESTUFF SEGMENT PUBLIC 'CODE'

EXTRN print_num:NEAR , get_num:NEAR
EXTRN get_ascii:NEAR , get_hex:NEAR , get_binary:NEAR

ASSUME cs:CODESTUFF, ds:DATASTUFF

main proc far
start: push ds ; set up for return
sub ax,ax
push ax

mov ax, DATASTUFF
mov ds,ax

; + + + + + + + + + + + + + + + START CODE BELOW THIS LINE

; + + + + + + + + + + + + + + + END CODE ABOVE THIS LINE

ret

main endp

CODESTUFF ENDS
; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

END start



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