Re: Linux-asm (was A patch for linux 2.1.127)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 19 Nov 1998 19:48:46 +0000 (GMT)


> /* "Hello World" in B for 64-bit hardware! */
> hw [0] "Hello World.*n";
> main(){
> extrn hw;
> putchar(0[hw]);
> hw=+1;
> putchar(0[hw]);
> }

putchar in B normally only prints the low byte of the word so it wont work.

(Yes sad to say it I've written 30,000+ line B programs)

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/