lkml.org 
[lkml]   [1998]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux-asm (was A patch for linux 2.1.127)
Date
> /* "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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.311 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site