🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #2222

Re: [OT] Dead DEC Punch card times (was Re: Taking Speedy too seriously)

#2222
From: Robert Riches
Date: Fri, 06 Nov 2026 05:03
49 lines
3789 bytes
On 2026-11-06, Peter Flass <Peter@Iron-Spring.com> wrote:
> On 11/5/26 16:17, Lawrence D’Oliveiro wrote:
>> On Thu, 5 Nov 2026 22:24:10 +0100, Carlos E. R. wrote:
>> 
>>> The 68000 had a beautiful assembler. Or rather, a beautiful
>>> instruction set.
>> 
>> Definitely inspired by the PDP-11. Pity it was big-endian. Also, the
>> division into “address” versus “data” registers did seem to be a step
>> backwards.
>> 
>> Here’s one trivia question: the decrement-and-branch instruction would
>> fall out of the loop when the count reached -1, not 0 as the
>> equivalent instruction in nearly every other computer architecture
>> did. Why?
>
> Big-endian is the only true way.

It is if you insist on string comparison and integer comparison
being identical or being able to read digits left to right and
put them in increasing memory addresses.

In 2001, while working on my MS, the OOP class required a term
project based on Squeak, an implementation of Smalltalk.  To save
travel time, I wanted to do the project on my Alpha machine at
home rather than on the hardware at the grad school.  However,
Squeak was not yet ported to the Alpha.

The C code level of the Squeak program treated everything as if
it were a 32-bit int.  The same memory address would be used to
store or load a pointer and load or store a 32-bit int.  Because
Alpha was little endian, it was relatively easy to port Squeak to
run on the Alpha, and I completed the term project.

That could not have been done on a big endian machine, because
when the Squeak C code stored a pointer to memory and then used
the same memory address to load it as a 32-bit int, a big-endian
machine would have returned the most significant half, not the
least significant half.

One of the related things I had to do was to set a 'personality'
flag so that the Squeak program would run as if it were
constrained to a 32-bit address space, which kept the most
significant half of a 64-bit pointer stuck as zero.

-- 
Robert Riches
spamtrap42@jacob21819.net
(Yes, that is one of my email addresses.)
Technical Details
Message-ID: <slrn11eqntu.isa.spamtrap42@one.localnet>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com> <ayudnc43iJgfVXr3nZ2dnZfqn_adnZ2d@giganews.com> <11c8mg3$2e89e$2@kst.eternal-september.org> <_ZucnafJTvBFc3r3nZ2dnZfqnPGdnZ2d@giganews.com> <11c8rq9$1e6t$1@gal.iecc.com> <nkqj0vFftq4U8@mid.individual.net> <URVFS.20180$1WK1.4115@fx14.ams4> <nkqpvsFftq4U9@mid.individual.net> <%Y_FS.30812$Gsmc.9148@fx17.ams4> <nks7oaF2rmsU2@mid.individual.net> <20261103155316.609@kylheku.com> <BRedndRyj8uMNnf3nZ2dnZfqnPSdnZ2d@giganews.com> <20261105095148.000026b0@gmail.com> <nl42ntF2rmsU25@mid.individual.net> <20261105121255.00003b4b@gmail.com> <1j6dnU7499aecXH3nZ2dnZfqn_WdnZ2d@giganews.com> <11cirsg$1votj$9@dont-email.me> <nl4afqFaf1bU7@mid.individual.net> <11cj2r4$22bch$7@dont-email.me> <11cjehn$2634m$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Robert Riches <spamtrap42@jacob21819.net>
Newsgroups: comp.os.linux.misc
Subject: Re: [OT] Dead DEC Punch card times (was Re: Taking Speedy too
 seriously)
Date: 6 Nov 2026 05:03:59 GMT
Organization: none-at-all
Lines: 49
Message-ID: <slrn11eqntu.isa.spamtrap42@one.localnet>
References: <18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com>
 <ayudnc43iJgfVXr3nZ2dnZfqn_adnZ2d@giganews.com>
 <11c8mg3$2e89e$2@kst.eternal-september.org>
 <_ZucnafJTvBFc3r3nZ2dnZfqnPGdnZ2d@giganews.com>
 <11c8rq9$1e6t$1@gal.iecc.com> <nkqj0vFftq4U8@mid.individual.net>
 <URVFS.20180$1WK1.4115@fx14.ams4> <nkqpvsFftq4U9@mid.individual.net>
 <%Y_FS.30812$Gsmc.9148@fx17.ams4> <nks7oaF2rmsU2@mid.individual.net>
 <20261103155316.609@kylheku.com>
 <BRedndRyj8uMNnf3nZ2dnZfqnPSdnZ2d@giganews.com>
 <20261105095148.000026b0@gmail.com> <nl42ntF2rmsU25@mid.individual.net>
 <20261105121255.00003b4b@gmail.com>
 <1j6dnU7499aecXH3nZ2dnZfqn_WdnZ2d@giganews.com>
 <11cirsg$1votj$9@dont-email.me> <nl4afqFaf1bU7@mid.individual.net>
 <11cj2r4$22bch$7@dont-email.me> <11cjehn$2634m$1@dont-email.me>
Reply-To: spamtrap42@jacob21819.net
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net +RRhh95+Ulcy3o8oYcKDXg/fo7WT8cTXQQ9yz9ZZc/TefWi6Ls
Cancel-Lock: sha1:17alx/3vY0YmS9k03yOQqWggGIc= sha256:WanpoyBVcJ20qbBSSUKRB5bge4OW1l/61ZhSH+WxGTA=
User-Agent: slrn/1.0.3 (Linux)