From mboxrd@z Thu Jan 1 00:00:00 1970 From: lm@bitmover.com (Larry McVoy) Date: Wed, 30 Apr 2008 10:00:06 -0700 Subject: [TUHS] Query on PDP-11 assembly In-Reply-To: <2B09A491-EB29-476C-B88E-27BA9D953BA6@uwlax.edu> References: <20080430115651.GA86539@minnie.tuhs.org> <48187A41.80105@coraid.com> <2B09A491-EB29-476C-B88E-27BA9D953BA6@uwlax.edu> Message-ID: <20080430170006.GB11943@bitmover.com> On Wed, Apr 30, 2008 at 11:53:52AM -0500, Milo Velimirovic wrote: > A subprogram using this calling convention would look something like > this: > > questf: mov (r5)+,r0 > / play with string pointed to by r0. > rts r5 It warms my heart to see pdp-11 assembly again. What a pleasant instruction set. m68k was close but already starting to get weird and x86 is the pits. -- --- Larry McVoy lm at bitmover.com http://www.bitkeeper.com