www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/18/21:01:28

From: s330134 AT student DOT uq DOT edu DOT au (Steven Cook)
Newsgroups: comp.os.msdos.djgpp
Subject: Inline asm with INT
Date: 18 Nov 1996 21:30:12 GMT
Organization: University of Queensland
Lines: 10
Message-ID: <56qkh4$5ku$1@nargun.cc.uq.oz.au>
NNTP-Posting-Host: student.uq.edu.au
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi last night I was trying to call a bios function, I first did it using __dpmi_int(0x10,regs)
and this worked fine.  But then I thought that I might trying it using inline asm.  It all went
fine until gas complained about an invalid 386 instruction, looking at the line it complained at
I saw int 0x10 so my question is can't this instruction be used in inline asm or is it different
from real mode. 
 -- 
Steven Cook                  | Many people equate the word 'daemon' with the 
BSc III (Computer Science)   | word 'demon,' implying some kind of Satanic  
University Of Queensland     | connection between UNIX and the underworld. 
s330134 AT student DOT uq DOT edu DOT au    |   -- Evi Nemeth 

- Raw text -


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