printf (' hello world! ');

Shawn T. Rutledge rutledge@cx47646-a.phnx1.az.home.com
Fri, 30 Jun 2000 14:14:41 -0700


On Fri, Jun 30, 2000 at 11:04:08AM -0700, Stuart Foster wrote:
> And for the really sick..
> 
> dosseg
> .model small
> .stack 100h
> 
> .data
> hello_message db 'Hello, World!',0dh,0ah,'$'
> 
> .code
> main  proc
>       mov    ax,@data
>       mov    ds,ax
> 
>       mov    ah,9
>       mov    dx,offset hello_message
>       int    21h
> 
>       mov    ax,4C00h
>       int    21h
> main  endp
> end   main

Is this for DOS or Linux?

-- 
  _______                   Shawn T. Rutledge / KB7PWD  ecloud@bigfoot.com
 (_  | |_)          http://www.bigfoot.com/~ecloud  kb7pwd@kb7pwd.ampr.org
 __) | | \________________________________________________________________
Get money for spare CPU cycles at http://www.ProcessTree.com/?sponsor=5903