home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
programming
/
asm_programming
/
TEMP1.ASM
< prev
next >
Wrap
Assembly Source File
|
1989-11-01
|
1KB
|
47 lines
; 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