🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #796

Re: Concertina IV Again?

#796
From: John Savard
Date: Tue, 17 Nov 2026 18:51
69 lines
3344 bytes
On Tue, 17 Nov 2026 16:39:20 GMT, quadibloc@invalid.com (John Savard)
wrote:

>I thought that there was no alternative but to go to 15-bit
>displacements. But, yet, there is another possibility.
>
>(op code) 5 bits
>(destination register) 5 bits
>00
>(index register) 1 bit
>(base register) 3 bits
>(displacement) 16 bits
>
>and
>
>(op code) 5 bits
>(destination register) 5 bits
>(index register) 4 bits
>(base register) 2 bits
>(displacement) 16 bits
>
>If only integer register 1 can be the index register for all the base
>registers, then for base registers 29, 30, and 31 one can have integer
>registers 4 through 15 as index registers. So now the number of
>possible index registers is reduced from 15 to one more than twelve,
>making the number adequate.
>
>But this strongly relegates four of the base registers to second-class
>status.

I've come up with another alternative.

(op code) 5 bits
(destination reg) 5 bits
(index reg) 2 bits
0
(base reg) 3 bits
(displacement) 16 bits

(op code) 7 bits
(destination reg) 5 bits
1
(index reg) 4 bits
(base reg) 3 bits
(displacement) 12 bits

This takes the new obstacle as a challenge, and smashes through it to
Victory!

I keep all seven base registers all of the time.

But now, with 16-bit displacements, I make do with three index
registers.

But with 12-bit displacements, I don't just get fifteen index
registers, I also get memory-to-register operate instructions, not
just load/store instructions. So I have full parity in this respect
with the System/360, instead of giving up something!

(Not quite full parity, though; I still give up the ability to change
the condition codes with these instructions.)

Since three base registers seem to be more tolerable than three index
registers, the possibility of going to a messier instruction format
might be considered - as 16-bit displacements are still very important
to serve well. However, I suspect that the need for more than even
three index registers is sufficiently rare that this could work out.

John Savard
Technical Details
Message-ID: <6afc9eef.13902343@news.eternal-september.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <6af629a7.27886218@news.eternal-september.org> <1794532970-5857@newsgrouper.org> <6afbcf18.68729046@news.eternal-september.org> <11dgvrm$78c1$1@dont-email.me> <6afc6aa5.516750@news.eternal-september.org> <6afc81b2.6417328@news.eternal-september.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: quadibloc@invalid.com (John Savard)
Newsgroups: comp.arch
Subject: Re: Concertina IV Again?
Date: Tue, 17 Nov 2026 18:51:57 GMT
Organization: A noiseless patient Spider
Lines: 69
Message-ID: <6afc9eef.13902343@news.eternal-september.org>
References: <6af629a7.27886218@news.eternal-september.org> <1794532970-5857@newsgrouper.org> <6afbcf18.68729046@news.eternal-september.org> <11dgvrm$78c1$1@dont-email.me> <6afc6aa5.516750@news.eternal-september.org> <6afc81b2.6417328@news.eternal-september.org>
Injection-Date: Tue, 17 Nov 2026 18:51:58 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="743878"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18bk65wB2EGb79nRFPI1owy94+4ZBBi1LA="; posting-host="d8bc7775d0dfffb9e4233d91bb35aab7"
Cancel-Lock: sha1:SxNHRaLcfyRBLhCHv+lfLPswJLw= sha256:QKSfKePVrADNuZdn3VbTasUU6XqWkVcTUg/hyO74nUY=
	sha1:UW3Vz8IPCAqG/hb9ejtiJ7yU12E= sha256:vBNwt+JDPgmhRcfVL22bsk4UL7nhUwTStuEzrF/Be9Q=
X-Newsreader: Forte Free Agent 1.1/32.230