From: Paul Winalski <paul.winalski@gmail.com>
To: Aron Insinga <aki@insinga.com>
Cc: Computer Old Farts Followers <coff@tuhs.org>
Subject: [COFF] Re: system implementation languages e.g. BLISS (was: mental architecture models, Anyone ever heard of teaching a case study of Initial Unix?)
Date: Fri, 12 Jul 2024 14:20:27 -0400 [thread overview]
Message-ID: <CABH=_VSBqBZNSkUc3A8pNfdHk5TW3C8+zcRv+6d7mR65wNdYWA@mail.gmail.com> (raw)
In-Reply-To: <744f454d-36a3-4a76-a7fe-9934a77bd2a0@insinga.com>
[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]
On Fri, Jul 12, 2024 at 1:45 PM Aron Insinga <aki@insinga.com> wrote:
> When verifying that, I found something I did not remember, that in
> BLISS-16 and -32 (and I would guess also -64), but not -36 (the
> word-addressed PDP-10), one could declare 8-bit signed and unsigned data:
>
> OWN
> X: BYTE SIGNED,
> Y: BYTE;
>
> So the concepts of 'type' in BLISS, at least regarding data size and
> representation, can get a little complicated (not to be confused with
> COMPLEX :-) ).
>
> Yes, BLISS-16, BLISS-32, and BLISS-64 have BYTE (and WORD also for
BLISS-32/64 IIRC) as a way to allocate data items smaller than a BLISS
value. Such a declaration also attaches an implicit default field
reference to the identifier. In the case of BYTE SIGNED it is <0, 8, 1>
and for BYTE <0,8,0>. So the expression:
Y = .X
was, in its completely expanded form:
Y<0,8,0> = .X<0,8,1>
Tying the BYTE and SIGNED attributes to the identifier cleaned up the
clutter of all those angle-bracket field references.
Similarly BLISS has VECTOR (one-dimensional, 0-based array), BLOCK
(equivalent of C's struct), and BLOCKVECTOR (array of structures) data
declaration attributes that carry implicit field and addressing semantics.
Again, a convenience for the programmer that alleviates clutter and makes
the program more readable.
-Paul W.
[-- Attachment #2: Type: text/html, Size: 1945 bytes --]
prev parent reply other threads:[~2024-07-12 18:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ce0380fd-ef36-4afe-99e1-92d8ebc4955a@insinga.com>
2024-07-12 17:37 ` Aron Insinga
2024-07-12 18:20 ` Paul Winalski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABH=_VSBqBZNSkUc3A8pNfdHk5TW3C8+zcRv+6d7mR65wNdYWA@mail.gmail.com' \
--to=paul.winalski@gmail.com \
--cc=aki@insinga.com \
--cc=coff@tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).