delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/03/18/19:37:39

Date: Tue, 18 Mar 2003 19:37:24 -0500
Message-Id: <200303190037.h2J0bOd28954@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <9307085f.0303181626.637d558d@posting.google.com>
(steve AT dosius DOT zzn DOT com)
Subject: Re: Question?
References: <20030318154745 DOT 95358 DOT qmail AT web40802 DOT mail DOT yahoo DOT com> <3E775D4F DOT EBA1B8E3 AT yahoo DOT com> <9307085f DOT 0303181626 DOT 637d558d AT posting DOT google DOT com>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>         mov      ax,      9                 ;wrstr()

Use AH and save a byte.

>         mov      ax,      4Ch               ;exit()
>         int      21h

In this case, you can just use "ret" and save four bytes.

You should see the tricks we go through to get djgpp's stub to fit
into 2k of memory.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019