The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: Anthony Martin <ality@pbrane.org>
To: Robert Clausecker <fuz@fuz.su>
Cc: tuhs@tuhs.org
Subject: Re: [TUHS] Plan 9 assembly syntax design history?
Date: Tue, 3 Nov 2020 13:49:27 -0800	[thread overview]
Message-ID: <20201103214927.GA1091@alice> (raw)
In-Reply-To: <20201102213254.GA39017@fuz.su>

Robert Clausecker <fuz@fuz.su> once said:
> While I am aware of Rob's talk [1] on the basic design ideas
> and have read both the Plan 9 [2] and Go [3] assembler
> manuals, many aspects of the design (such as the strange way
> to specify static data) are unclear and seem poorly
> documented.
>
> [...]
>
> [1]: https://talks.golang.org/2016/asm.slide
> [2]: https://9p.io/sys/doc/asm.html
> [3]: https://golang.org/doc/asm

Note that the Plan 9 compilers do not actually generate
machine code. They build an intermediate abstract object
code that the linkers then translate into machine code.

The syntax used by the assemblers is essentially a textual
representation of that intermediate code. If you want to
understand the design and it's idiosyncrasies, focus on the
latter.

Cheers,
  Anthony

      reply	other threads:[~2020-11-03 22:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-02 21:32 Robert Clausecker
2020-11-03 21:49 ` Anthony Martin [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=20201103214927.GA1091@alice \
    --to=ality@pbrane.org \
    --cc=fuz@fuz.su \
    --cc=tuhs@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).