Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ut-sally!husc6!cmcl2!brl-adm!adm!escott@BONNIE.UCI.EDU From: escott@BONNIE.UCI.EDU (Scott Menter) Newsgroups: comp.lang.c Subject: Re: Style [++i vs i++] Message-ID: <8186@brl-adm.ARPA> Date: Mon, 6-Jul-87 19:24:53 EDT Article-I.D.: brl-adm.8186 Posted: Mon Jul 6 19:24:53 1987 Date-Received: Wed, 8-Jul-87 01:25:13 EDT Sender: news@brl-adm.ARPA Lines: 18 Actually, I seem to remember that on at least one compiler I was using, it was better to use pre-auto-decrement and post-auto-increment, when possible. The reason was that the machine had a pre-decrement and a post-increment addressing mode (for stack manipulation, presumably) which were a win compared to ADD #1,MEMLOC. Er, maybe it was the OS9 Level II compiler for the 6809... I'm not sure. Anybody else have an example of this? +-------------------------------------------------------------------------+ Scott Menter UCI ICS Computing Support Group Univ. of Calif. at Irvine (714) 856 7552 Irvine, California 92717 Internet: escott@ics.uci.edu UUCP: ...!ucbvax!ucivax!escott Bitnet: escott@uci CSNet: escott%ics.uci.edu@csnet-relay Internet (with Name Server): escott@deis.uci.edu +-------------------------------------------------------------------------+