Article View: alt.folklore.computers
Article #625589Re: something like a 360, was PDP 11/40 system manual
From: Dan Espen
Date: Sun, 12 Aug 2018 23:12
Date: Sun, 12 Aug 2018 23:12
26 lines
2436 bytes
2436 bytes
John Levine <jo...@taugh.com> writes: > In article <pkpgkg$grv$1...@dont-email.me>, > Dan Espen <dan1...@gmail.com> wrote: >>Not really that hard: >> >> LARL R11,SUB1 R11 <- subroutine address and base >> BALR R14,R11 Go to subroutine > > LARL? No 360 I ever used had that instruction. Right, the macro for this originally did: L R11,=A(SUB1) But I guessed we were talking S/360 and it's descendants. > Also, the standard calling sequence put the entry point in R15. > Pedantically, Yes, the code could use R15 but then R15 would have to be loaded somewhere else or it would be sure to be destroyed before the subroutine got very far. Better to just use some safe register from the beginning. -- Dan Espen
Technical Details
Message-ID:
<pkqesi$agc$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!a22-v6ni11065wmg.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!nntpfeed.proxad.net!news.muarf.org!news.uzoreto.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mailReferences:
<21aaeee8-c41a-4442-a4eb-ea6a29b1e4f1@googlegroups.com> <pkmrkc$6lm$1@dont-email.me> <767649820.555764566.888777.peter_flass-yahoo.com@news.eternal-september.org> <pkpgkg$grv$1@dont-email.me> <pkphnb$249o$2@gal.iecc.com>Show Full Headers
Complete Article Headers
X-Received: by 2002:a1c:3f8e:: with SMTP id m136-v6mr1116110wma.2.1534115539200; Sun, 12 Aug 2018 16:12:19 -0700 (PDT) X-BeenThere: alt.folklore.computers@googlegroups.com Received: by 2002:a7b:c0c8:: with SMTP id s8-v6ls1775754wmh.10.canary-gmail; Sun, 12 Aug 2018 16:12:18 -0700 (PDT) X-Received: by 2002:a1c:9e94:: with SMTP id h142-v6mr954639wme.13.1534115538408; Sun, 12 Aug 2018 16:12:18 -0700 (PDT) X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 78.192.65.63 Path: mbox-mo1.pugleaf.net!a22-v6ni11065wmg.0!nntp.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!nntpfeed.proxad.net!news.muarf.org!news.uzoreto.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Dan Espen <dan1...@gmail.com> Newsgroups: alt.folklore.computers Subject: Re: something like a 360, was PDP 11/40 system manual Date: Sun, 12 Aug 2018 19:12:18 -0400 Organization: A noiseless patient Spider Lines: 26 Message-ID: <pkqesi$agc$1@dont-email.me> References: <21aaeee8-c41a-4442-a4eb-ea6a29b1e4f1@googlegroups.com> <pkmrkc$6lm$1@dont-email.me> <767649820.555764566.888777.peter_flass-yahoo.com@news.eternal-september.org> <pkpgkg$grv$1@dont-email.me> <pkphnb$249o$2@gal.iecc.com> Mime-Version: 1.0 Injection-Info: reader02.eternal-september.org; posting-host="f85887c92775115f6aec8b33b69cda43"; logging-data="10764"; mail-complaints-to="ab...@eternal-september.org"; posting-account="U2FsdGVkX1/rMfxpw6JtEC9d4KFvhDd1tlTSe+DYJHg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cancel-Lock: sha1:J7CGy5wvT4+Gs/4se+h7KW3zR6w= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit