delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/14/06:17:20

From: "Mohhammad Ali Molem" <n99mam AT nat DOT sdu DOT dk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Opcodes --> Inline Assembly --> C++
Date: Tue, 14 Dec 1999 09:58:17 +0100
Organization: UNI-C
Lines: 22
Message-ID: <8350ra$1ckc$1@news.net.uni-c.dk>
References: <384B8677 DOT BE1E0EF0 AT durham DOT ac DOT uk>
NNTP-Posting-Host: aquarius.nat.sdu.dk
X-Trace: news.net.uni-c.dk 945161898 45708 130.225.142.116 (14 Dec 1999 08:58:18 GMT)
X-Complaints-To: usenet AT news DOT net DOT uni-c DOT dk
NNTP-Posting-Date: 14 Dec 1999 08:58:18 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

Inline in djgpp is all but easy dude. Try another compiler or, link in Tasm
files.

Marios Richards <M DOT N DOT Richards AT durham DOT ac DOT uk> wrote in message
news:384B8677 DOT BE1E0EF0 AT durham DOT ac DOT uk...
> Dear All,
> Is there any way to put/call opcodes in inline assembly?
> Essentially, what I want to do is set up a code for general algorithms
> so that an array (of whatever) can be turned into an algorithm and run.
> At first, the simplest way to do this seemed to be to use assembly
> language inlined into C++ (short, simple algorithms would be run within
> a C++ program which would store the arrays coding for the algorithm,
> feed inputs into the algorithm at one register and remove outputs at the
> register when the algorithms finishes, evaluate the algorithms with a
> fitness function based on time taken and distance from ideal answer, and
> the apply a genetic algorithm and run the next generation).
> However, looking through Paul Hsieh's book on assembly I saw mention of
> assembly code being coded as one or more eight bit binaries. This seems
> the perfect media. Who should I ask about this and how should I proceed?
> Marios


- Raw text -


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