printf (' hello world! ');

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Shawn T. Rutledge
Date:  
Subject: printf (' hello world! ');
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  
 (_  | |_)          http://www.bigfoot.com/~ecloud  
 __) | | \________________________________________________________________
Get money for spare CPU cycles at http://www.ProcessTree.com/?sponsor=5903