The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: lm@bitmover.com (Larry McVoy)
Subject: [TUHS] Query on PDP-11 assembly
Date: Wed, 30 Apr 2008 10:00:06 -0700	[thread overview]
Message-ID: <20080430170006.GB11943@bitmover.com> (raw)
In-Reply-To: <2B09A491-EB29-476C-B88E-27BA9D953BA6@uwlax.edu>

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



  reply	other threads:[~2008-04-30 17:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30 11:56 Warren Toomey
2008-04-30 13:55 ` Brantley Coile
2008-04-30 14:41   ` Naoki Hamada
2008-05-01 23:47     ` Warren Toomey
2008-04-30 16:53   ` Milo Velimirovic
2008-04-30 17:00     ` Larry McVoy [this message]
2008-04-30 17:47       ` John Cowan
2008-04-30 17:59         ` Larry McVoy
2008-04-30 15:08 ` Carl Lowenstein
2008-04-30 16:20 James A. Markevitch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080430170006.GB11943@bitmover.com \
    --to=lm@bitmover.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).