delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/20/08:45:13

From: "Giovanni Ceglia" <giovanniceglia AT inwind DOT it>
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with assembler.
Date: Sun, 20 May 2001 14:30:48 +0200
Organization: Wind Telecomunicazioni S.p.A.
Lines: 29
Message-ID: <9e8dup$mah$1@nreadA.inwind.it>
NNTP-Posting-Host: 62.98.140.125
X-Trace: nreadA.inwind.it 990362393 22865 62.98.140.125 (20 May 2001 12:39:53 GMT)
X-Complaints-To: abuse AT inwind DOT it
NNTP-Posting-Date: 20 May 2001 12:39:53 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello all, i wanna ask if is possible with djgpp do this thing.

I would compile into a c function for exampe:

void example()
  {
     ...
     my problem
     ...
  }

where you see "my problem" i would insert direct machine code.

Not assembly mnemonic instruction, but machine code!

Someone tell me to use

asm(".byte ... <machine code> ...")

I tryed it but results don't seem to run how they must!

Can someone help me?

Thanks.





- Raw text -


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