delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/08/10:24:55

Message-ID: <3A092D3D.93376B5B@free.fr>
From: Kirill Pankratiev <kirill AT free DOT fr>
Organization: MICROWARE
X-Mailer: Mozilla 4.05 [en] (Win95; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: ASM in DJGPP
Lines: 20
Date: Wed, 08 Nov 2000 11:34:10 GMT
NNTP-Posting-Host: 213.228.40.195
X-Complaints-To: abuse AT proxad DOT net
X-Trace: nnrp4.proxad.net 973683250 213.228.40.195 (Wed, 08 Nov 2000 12:34:10 CET)
NNTP-Posting-Date: Wed, 08 Nov 2000 12:34:10 CET
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I wonder , can somebody tell me how to use assembly in DJGPP

So far i didn't manage to comipe things like :

void Swap(int *a,int *b)
{
_asm
{
  push ebp
  mov ebp,esp
  pop  ax
  pop  bx
  push ax
  push bx
  pop  ebp
 }
}

mailto://kirill AT free DOT fr

- Raw text -


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