From: jigsaw@gmail.com (jigsaw)
Subject: [TUHS] Having trouble with V6 source code
Date: Mon, 2 Oct 2006 15:59:25 +0300 [thread overview]
Message-ID: <2051ec920610020559j50b77246ra9365225938713f8@mail.gmail.com> (raw)
In-Reply-To: <20061002125049.GA1092@grumpf.hope-2000.org>
hi Hans,
It's my mistake - it is \ rather than /
And refer to the assambler manual for UNIX v7, the "/<" stands for
"shift left", i.e., <<.
Regards,
Qinglai
On 10/2/06, Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org> wrote:
> On Mon, Oct 02, 2006 at 09:44:58AM +0300, jigsaw wrote:
> > But before I went far I was stopped by m40.s
> > 0636: mov $USIZE-1/<8|6, (r1)+
>
> In my printed copy it is a \<, not a /<
>
> > What does the slash "/" stand for?
>
> / would start a comment
>
> > I guess this line should be
> > mov $USIZE-1<<8|6, (r1)+
>
> I don't know for sure, but I doubt that the assembler will understand
> this C syntax.
>
> This piece of code is commented on page 6-2:
>
> 'The value 007406 is obtained by shifting the octal value 017 eight
> places to the left and then "or"ing in the value of 6;'
>
>
>
> --
> %SYSTEM-F-ANARCHISM, The operating system has been overthrown
>
next prev parent reply other threads:[~2006-10-02 12:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-02 6:44 jigsaw
2006-10-02 12:50 ` Hans Rosenfeld
2006-10-02 12:59 ` jigsaw [this message]
2006-10-02 14:22 Jose R Valverde
2006-10-02 15:24 ` jigsaw
2006-10-02 14:24 Jose R Valverde
2006-10-03 12:25 Wolfgang Helbig
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=2051ec920610020559j50b77246ra9365225938713f8@mail.gmail.com \
--to=jigsaw@gmail.com \
/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).