printf (' hello world! ');
sinck@ugive.com
sinck@ugive.com
Fri, 30 Jun 2000 15:40:46 -0700 (MST)
How far away is linux assembly from dos assembly?
Just curious...I hate assembly.
David
\_ I'm busted it is dos.
\_ What is the Linux equivalent of assembly ?
\_
\_ -----Original Message-----
\_ From: Shawn T. Rutledge [mailto:rutledge@cx47646-a.phnx1.az.home.com]
\_ Sent: Friday, June 30, 2000 2:15 PM
\_ To: plug-discuss@lists.PLUG.phoenix.az.us
\_ Subject: Re: 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 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
\_
\_ _______________________________________________
\_ Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
\_ http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
\_
\_ _______________________________________________
\_ Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
\_ http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss