www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/10/11:45:06

X-Apparently-To: clax86 AT yahoo DOT com via web9602; 09 Jun 2001 21:43:40 -0700 (PDT)
From: rendeg AT my-dejanews DOT com (Rennie deGraaf)
Newsgroups: comp.lang.asm.x86,comp.os.msdos.djgpp
Subject: Re: error linking asm module
Organization: http://groups.google.com/
References: <kIpU6.5025$p%4 DOT 520503 AT newsread2 DOT prod DOT itd DOT earthlink DOT net> <t8o4it445g755gss5n541surq34n5d3c01 AT 4ax DOT com>
Approved: <johnfine AT earthlink DOT net>
Lines: 45
Message-ID: <eyMU6.1299$Il5.179854@newsread1.prod.itd.earthlink.net>
Date: Sun, 10 Jun 2001 15:40:58 GMT
NNTP-Posting-Host: 168.191.58.151
X-Complaints-To: abuse AT earthlink DOT net
X-Trace: newsread1.prod.itd.earthlink.net 992187658 168.191.58.151 (Sun, 10 Jun 2001 08:40:58 PDT)
NNTP-Posting-Date: Sun, 10 Jun 2001 08:40:58 PDT
X-Received-Date: Sun, 10 Jun 2001 08:38:59 PDT (newsmaster1.prod.itd.earthlink.net)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

No, you nailed it.  Many Thanks.

I must be blind.  Then again, everyone I asked before posting it
missed it too.  Perhaps it is handy to always have someone around who
doesn't know the syntax so that when they try to decode it and
something doesn't make sense, that just might be an error.  I guess
you fit in the "just plain smart enough" category.


Thanks again,
Rennie deGraaf
3rd year Computer Science, University of Calgary

Jonathan Kirwan <jkirwan AT easystreet DOT com> wrote in message news:<t8o4it445g755gss5n541surq34n5d3c01 AT 4ax DOT com>...
> I'm not the least bit familiar with AT&T syntax, using only MASM.  I'm
> not in COMD, but in CLAX.  But I've a few questions.
> 
> 
> On Sat, 09 Jun 2001 13:41:36 GMT, rendeg AT my-dejanews DOT com (Rennie
> deGraaf) wrote:
> 
> >    and 0x01, %eax
> 
> Is this intentional?  I noticed that elsewhere, you appeared to use a
> '$' before inline instruction constants (code space.)  Here, there is
> no '$'.
> 
> >    movb $_buffer, %cl
> 
> Given what I can guess about the syntax, this attempts to move the
> address of _buffer to CL.  Of course, the address is 32 bits and CL is
> only 8.  Is this a possible source for the error?  And also, where do
> you initialize the upper 24 bits of ECX?  I see you save it, but I
> must have missed where you initialize it.
> 
> >    movb %al, _newkey(%ecx)
> 
> What does this do??  And should there be a $ in front of the _newkey?
> I might have guessed that ECX is a pointer, but above you only init 8
> bits of the address.  So that can't be it.
> 
> Hopefully someone better informed will help.
> 
> Jon

- Raw text -


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