The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Stuff Received <stuff@riddermarkfarm.ca>
To: COFF <coff@tuhs.org>
Subject: [TUHS] Re: Maximum Array Sizes in 16 bit C
Date: Fri, 20 Sep 2024 11:56:16 -0400	[thread overview]
Message-ID: <d6386cb3-f8ec-bd17-9d0a-e7f5272dd12b@riddermarkfarm.ca> (raw)
In-Reply-To: <11d46ab4-b90c-83fe-131a-ee399eebf342@horsfall.org>

Moved to COFF.

On 2024-09-20 11:07, Dave Horsfall wrote (in part):
> 
> Giggle...  In a device driver I wrote for V6, I used the expression
> 
>      "0123"[n]
> 
> and the two programmers whom I thought were better than me had to ask me
> what it did...
> 
> -- Dave, brought up on PDP-11 Unix[*]
> 
> [*]
> I still remember the days of BOS/PICK/etc, and I staked my career on Unix.

Working on embedded systems, we often used constructs such as a[-4] to 
either read or modify stuff on the stack (for that particular 
compiler+processor only).

S.


  parent reply	other threads:[~2024-09-20 15:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-18 23:51 Douglas McIlroy
2024-09-18 23:57 ` Henry Bent
2024-09-19 13:13   ` Rich Salz
2024-09-20 13:33     ` Paul Winalski
2024-09-20 15:07       ` Dave Horsfall
2024-09-20 15:30         ` Larry McVoy
2024-09-20 15:56         ` Stuff Received [this message]
2024-09-20 16:14         ` Dan Cross
2024-09-20 17:11         ` G. Branden Robinson
2024-09-20 20:16           ` Bakul Shah via TUHS
2024-09-20 20:58             ` Warner Losh
2024-09-20 21:18               ` Rob Pike
2024-09-20 22:04               ` Bakul Shah via TUHS
2024-09-20 22:19               ` G. Branden Robinson
2024-09-20 15:26       ` Rich Salz
2024-09-20 19:40     ` Leah Neukirchen
2024-09-20 15:24 Douglas McIlroy

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=d6386cb3-f8ec-bd17-9d0a-e7f5272dd12b@riddermarkfarm.ca \
    --to=stuff@riddermarkfarm.ca \
    --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).