🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #587

A Fatal Concertina Flaw?

#587
From: John Savard
Date: Sun, 08 Nov 2026 14:27
25 lines
2421 bytes
I have been modelling the Concertina II architecture, and related
ones, on that of the IBM System/360 in a number of ways.
A recent thread discussing register windows led me to think of
subroutine calling conventions. Which register windows would perhaps
complicate.
When a subroutine is called on the IBM System/360, it usually starts
out by creating one base register value for itself by means of the
BALR instruction. That's basically a subroutine call that doesn't go
anywhere.
Except for the one register that value is put in, exempted by the
calling convention rules, the other general registers can then be
saved in an area of data storage area located immediately after the
program code, pointed to with the aid of the base register value set
up which points just after the start of the program.
But modern microprocessors, because of the increased danger from
viruses and hackers, fix things so that the processor is allowed to
execute instructions only from memory labelled one way - and to write
data in memory labelled another way. And never the twain does meet -
except with a call to the operating system being made between when the
loader loads a program from disk into memory, and the program is
started.
So this IBM-style calling convention that I've built the architecture
around is now obsolete! Save areas have to be passed to subroutines!

John Savard
Technical Details
Message-ID: <6af0853c.2944265@news.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!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: A Fatal Concertina Flaw?
Date: Sun, 08 Nov 2026 14:27:31 GMT
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <6af0853c.2944265@news.eternal-september.org>
Injection-Date: Sun, 08 Nov 2026 14:27:30 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="417812"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+4/iiMI1QDowZrpFVO2wv4FG3gzXUNGNU="; posting-host="233e17826806c179f69a80031f04fab3"
Cancel-Lock: sha1:gILDeWcR55h7dbatg9RZm/Acjm0= sha256:zso/D7isJVH58qSqHTMpHMDyit1sZbUzc+dN6fLDi5o=
	sha1:vsYmqJDFFwrgdnI5TIGqSGkdYR4= sha256:NtNKQfNYrZUzdznT9D4wIQ1P6QluGhliOuGKsvQgE1w=
X-Newsreader: Forte Free Agent 1.1/32.230