[TUHS] Having trouble with V6 source code

Hans Rosenfeld rosenfeld at grumpf.hope-2000.org
Mon Oct 2 22:50:49 AEST 2006

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

More information about the TUHS mailing list