www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/12/13:16:19

To: djgpp AT delorie DOT com
Date: Sun, 12 Mar 2000 12:50:47 -0500
Subject: Inline ASM
Message-ID: <20000312.125101.-765853.0.roberts.j.whitlock@juno.com>
X-Mailer: Juno 4.0.5
MIME-Version: 1.0
X-Juno-Line-Breaks: 1-7,11-19
X-Juno-Att: 0
X-Juno-RefParts: 0
From: Robert S Whitlock <roberts DOT j DOT whitlock AT juno DOT com>
Reply-To: djgpp AT delorie DOT com

Okay, I know there's something simple I'm not getting... I just can't
find it.

I'm trying to inline asm this:

mov ax, 0x03
int 0x10

I've tried various ways to do it, including attempts at AT&T syntax,
since that what GAS uses, I know... but it always gives me errors. I've
tried asm and __asm__ keywords... didn't work. Simple question: what
peice of code to I need to stick that asm into my djgpp program?

Thx



--Robert Whitlock
http://www.geocities.com/CapeCanaveral/Hangar/9520/
ICQ 60123256

- Raw text -


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