From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30332 invoked from network); 24 Oct 2022 23:46:59 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 24 Oct 2022 23:46:59 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id EE3C340245; Tue, 25 Oct 2022 09:46:53 +1000 (AEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by minnie.tuhs.org (Postfix) with ESMTPS id 406E940123 for ; Tue, 25 Oct 2022 09:46:48 +1000 (AEST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 4DA5B320077A for ; Mon, 24 Oct 2022 19:46:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 24 Oct 2022 19:46:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=papnet.eu; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1666655206; x=1666741606; bh=PvH8kA5DCo h5oV2D7jRdFw7SoWRVtul+Dn8hImWel/g=; b=EFpawn72MyeACmZgCEZPt5etlc H44wGFpJznmLlgbyaddDyiASWlnH7/1bM8IXXfpgjC7A0uDO+IuX92M4nmB8RIQA qIi3we0N+DH8qGiIwPnl6vPkNSm2tLLS2mnyeYWkDYLYMsDbrmwNb6ii0korBasQ jgOPD5MfdO/coSjwBXRObAbT/sHdJs8cpLAC7OtxIDeJuH4vHrSZo8RXywGesFdY hXH277SZimIJIVcLlBmJUv9Idh2RsnntYKT6SH81p01K/OqZTXujD9jA+YMD04YW mVk9wE1myGFJnfdFSa5XoaMmn1U1A+1rBKsAnosaakrGFLj59yHutOA5BYHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1666655206; x=1666741606; bh=PvH8kA5DCoh5oV2D7jRdFw7SoWRV tul+Dn8hImWel/g=; b=WSXIuU4YPWZ/uR4sQ/zK70BDfQDHj1qZ4aMM7q04PXG0 8G+/mmhZ2C7IcD26FvOPQtxeGnWrs8KJ2GPrdlKfExCipQwPevOyJ/mgoSwvpex6 mAtafl3XFJ70vEpvr6Ix1uv35fBxsh6vHk6NnpmfzIy7OIl38VZSWJimkzZunL+u 39JptwBxqslFFDVIyj8n46tnd8jgAetwgMMoHPmI5y7niC/13ziUXkUIvRn2nNFg aO2SnNXHivnlYb6+n3VqkAi8u6IMiweDiT8WqfGA++O48nrXq0eZ0zztAh5wJGaJ 3s8ckfM2WFF0nbY3s5wiq+pc5aW9Yb/5L8r+WYhg5g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgedthedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesthdtre dttddtvdenucfhrhhomheptehnghgvlhhoucfrrghpvghnhhhofhhfuceorggrphesphgr phhnvghtrdgvuheqnecuggftrfgrthhtvghrnhepgffhuefgieetuedvgffhudegvdetle fhfffhvedtfedufedvteeutedutedugedvnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprggrphesphgrphhnvghtrdgvuh X-ME-Proxy: Feedback-ID: i47c14439:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 24 Oct 2022 19:46:46 -0400 (EDT) Date: Tue, 25 Oct 2022 01:46:43 +0200 From: Angelo Papenhoff To: The Eunuchs Hysterical Society Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Message-ID-Hash: PJQC5354CN3Z33SGKN5L4L5J4XSWEXE5 X-Message-ID-Hash: PJQC5354CN3Z33SGKN5L4L5J4XSWEXE5 X-MailFrom: aap@papnet.eu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tuhs.tuhs.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: who invented the link register List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 12/10/22, ron minnich wrote: > I know branch and link was in the 360; was it earlier? And ... anybody know > who invented it? > > This came up in a risc-v meeting just now :-) My claim is that if anybody > knows, they will be in this group. The Whirlwind used the A register for this purpose. The jump (sp = sub-program) and conditional jump (cp = conditional sub-program) instructions set A to the return address. The first instruction at the target can then use ta (transfer A to storage) to write to the address part of the return-sp instruction. It would look like this: sp foo ; call foo ret, ... ; come back here foo, ta foo1 ; store return address ... foo1, sp . ; will return to ret Might be earlier than this, I just happen to know the Whirlwind somewhat well. It's late 40s machine, so you probably won't find anything *much* older. Cheers, aap