Mail Archives: djgpp/1999/09/02/16:03:15

From: "stefan fröberg" <traveler AT netti DOT fi>
Newsgroups: comp.os.msdos.djgpp
Subject: String output using AT&T
Date: Thu, 2 Sep 1999 22:05:25 +0300
Organization: SAUNALAHDEN SERVERIN asiakas
Lines: 25
Message-ID: <7qmho2$56c$>
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello everyone !

How is the following MASM code translated to AT&T inline assembly ?

data    seg
    message    db    "Hello there !$"
data    ends

code    seg
    mov    ax,data
    mov    ds,ax
    mov    dx,offset message
    mov    ah,09H
    int    21H

    mov    ax,4C00h
    int    21H
code    ends

Im going crazy if I don´t get help soon...
traveler AT netti DOT fi

- Raw text -

  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019