home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_02_02
/
2n02069a
< prev
next >
Wrap
Text File
|
1990-12-18
|
588b
|
41 lines
;
; start.asm
; written by David A. Nye
; Released to the Public Domain.
;
; Assembler used: Borland's TASM.
;
; Assembly instructions:
; tasm start
; tlink start
; exe2bin start.exe
; ren start.bin start.com
;
ideal
model tiny
codeseg
org 100h
start:
mov ax,cs
mov ds,ax
mov ah,2
int 16h
and al,8
jz exit
mov dx, offset message
mov ah,9
int 21h
mov ah,1
int 21h
sub al,'0'
exit:
mov ah,4ch
int 21h
message:
db 'Enter digit for alternate AUTOEXEC.BAT functions: $'
end start