www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/22/23:00:34

From: Corey Harwell <gadwall AT mobiletel DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Inline Assembly?
Date: Thu, 22 Apr 1999 00:02:59 -0500
Organization: A poorly-installed InterNetNews site
Lines: 15
Message-ID: <371EAD83.8AE7D6D7@mobiletel.com>
References: <iQSS2.880$MG3 DOT 231 AT newsr2 DOT elp DOT rr DOT com>
NNTP-Posting-Host: cajun04-port18.cajunnet.com
Mime-Version: 1.0
X-Mailer: Mozilla 4.51 [en] (Win95; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> asm {
> mov al, low
> mov ah, high
> } // Data should return correctly since it's in AX right?

first off DJGPP only understands AT&T style inline assembly not Intel...
secondly inline is done like this if im not mistaken.. (its been awhile)

asm(" instruction ");

Thats about all i can tell you.. im not much of an AT&T style assembly
programmer so i really can't give you any specifics on the difference
from Intel. Look for some tutorials on the net.

-Corey

- Raw text -


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