delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/16/05:16:33

From: langtons AT NOTTHISBIT DOT manawatu DOT gen DOT nz (Michael Langton)
Newsgroups: comp.os.msdos.djgpp
Subject: Syntax of "asm" statement
Date: Mon, 16 Mar 1998 10:06:46 GMT
Organization: PlaNet (NZ) Manawatu, +64 6 357-9245, +64 6 367-9944
Lines: 15
Message-ID: <350df91e.820097@news.manawatu.gen.nz>
NNTP-Posting-Host: newshost.manawatu.gen.nz
Mime-Version: 1.0
Cache-Post-Path: news.manawatu.gen.nz!unknown AT ppp-static-005-128 DOT manawatu DOT gen DOT nz
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello,
I'm used to putting assembler statements into my programs using asm.
But I can't figure out the (apparently) different syntax under djgpp.
Here's a simple thing I would like to be able to do (this works fine
under bc3):

asm {
	mov	ax, 0x0013
	int	0x10
}

TIA

--
  Michael Langton <langtons DOT NOTTHISBIT AT manawatu DOT gen DOT nz>

- Raw text -


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