Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site baylor.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!ut-sally!ut-ngp!shell!neuro1!baylor!peter From: peter@baylor.UUCP (Peter da Silva) Newsgroups: net.micro.68k,net.micro.16k Subject: Re: Re: Re: PDP11s vs the micros Message-ID: <405@baylor.UUCP> Date: Thu, 15-Aug-85 13:28:44 EDT Article-I.D.: baylor.405 Posted: Thu Aug 15 13:28:44 1985 Date-Received: Tue, 20-Aug-85 05:54:32 EDT References: <1617@hao.UUCP> <847@mako.UUCP> <2422@sun.uucp> Organization: Ancient Illuminated Seers of Bavaria Lines: 19 Xref: watmath net.micro.68k:1061 net.micro.16k:366 > Not uncommon, but it doesn't generate autoincrement code on the PDP-11, VAX, > or M68000, because they all have only predecrement and postincrement modes - > this construct would require a preincrement mode. Do any machines have > preincrement addressing modes? OK. Bad example. How about: strcpy(to, from) register char *to, *from; { char hold=to; while(*to++ = *from++) continue; return hold; } -- Peter da Silva (the mad Australian) UUCP: ...!shell!neuro1!{hyd-ptd,baylor,datafac}!peter MCI: PDASILVA; CIS: 70216,1076