delorie.com/archives/browse.cgi | search |
Date: | Mon, 17 Nov 1997 09:38:48 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
To: | Andrew Crabtree <andrewc AT rosemail DOT rose DOT hp DOT com> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Assembly |
In-Reply-To: | <64i388$kki$1@rosenews.rose.hp.com> |
Message-ID: | <Pine.SUN.3.91.971117093817.2318C-100000@is> |
MIME-Version: | 1.0 |
On Fri, 14 Nov 1997, Andrew Crabtree wrote: > don't use a '$' terminated string. Thats for dos only. > Call printf. Just push the offset of Message onto the stack and call > _printf. Seems like _puts would be a better choice. `printf' pulls in a lot of support code from libc which aren't needed to print a fixed string. (`printf' can also get you in trouble if the string includes `%' characters.)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |