delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/20/20:56:31

From: <@elp.rr.com>
Newsgroups: comp.os.msdos.djgpp
Subject: Inline Assembly?
Lines: 20
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Message-ID: <iQSS2.880$MG3.231@newsr2.elp.rr.com>
Date: Mon, 19 Apr 1999 22:15:00 -0600
NNTP-Posting-Host: 24.92.106.91
X-Trace: newsr2.elp.rr.com 924580238 24.92.106.91 (Mon, 19 Apr 1999 21:50:38 MDT)
NNTP-Posting-Date: Mon, 19 Apr 1999 21:50:38 MDT
Organization: Paragon Cable, El Paso, TX
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

what kind of assembly does djgpp use? I remember finding it in the FAQ's or
DOC's somewhere but i can't find it no more...
this doesn't seem to work...

get_point(FILE *Dat) {
unsigned char high, low;
high = fgetc(Dat);
low = fgetc(Dat);

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

}
It won't compile on that assembly portion... umm... Help?? =)

Sorry i accidently posted this elsewhere!!!


- Raw text -


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