www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/24/12:00:27

From: "Sérgio Vale e Pace" <space AT gold DOT com DOT br>
Newsgroups: comp.os.msdos.djgpp
Subject: bit tests in DJGPP assembler
Date: Sun, 24 May 1998 13:40:47 -0300
Organization: All USENET -- http://www.Supernews.com
Lines: 13
Message-ID: <35684D8F.BE3ED947@gold.com.br>
NNTP-Posting-Host: 200.215.160.229
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi Everybody,
    I have a 10 byte matrix and I want to test each bit in this matrix,
all the 80. I'm trying to do that using the BT instruction in assembler,
using a index, and a memory location and when I try the memory location
first, (eg. bt (%eax), %di) I got a "instruction unknow" message from
the compiler inverting the operands (eg. bt %di, (%%eax)), I got a
Segment violation error.

    Somebody can help me?

Thankx on advance
Sérgio Vale e Pace

- Raw text -


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