delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/15/11:15:23

From: Thomas Luzat <thomas DOT luzat AT gmx DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Inline ASM
Date: Tue, 15 Sep 1998 17:06:57 +0200
Organization: Aachen University of Technology / Rechnerbetrieb Informatik
Lines: 19
Message-ID: <35FE8291.37810D2D@gmx.net>
NNTP-Posting-Host: ip17.aachen.okay.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi there!

I just wanted to start programming in C/C++ and downloaded DJGPP for
this purpose. Everything is working fine, but I haven't figured out how
to use inline assembler. That's what I wanted to convert from Turbo
Pascal to DJGPP:

asm
   mov ax,0003h;
   int 10h;
end;

I need just one sample to start. I can't figure out how to do it from
the docs (maybe you can point me to the right one?)

T.I.A.,

    Thomas Luzat

- Raw text -


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