delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/01/21/00:46:29

From: "Joel_S" <jbs30000 DOT news DOT invalid AT web2news DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: C/C++ versions of asm opcodes.
Date: Tue, 21 Jan 2003 06:32:21 +0100
Organization: Web2news.com
Message-ID: <12212N341@web2news.com>
MIME-Version: 1.0
NNTP-Posting-Host: 198.81.26.238
X-Complaints-To: abuse AT web2news DOT net
Lines: 12
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ok, there are some C/C++ functions for asm opcodes, like << and >> for
shl and shr (using Intel assembly syntax instead of AT&T).
And I know how to translate some opcodes that don't have a C/C++
equivalent.  But there are some things in asm that I'm wondering if I
could do in C or C++, like
ror
rol
adc
sbb
if anybody knows how to do these in C, I'd like to know.  Thanks.
--
Posted via http://web2news.com the faster web2news on the web

- Raw text -


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