delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/08/30/05:15:21

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Trouble with Assembly code
Date: 30 Aug 2001 06:52:56 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 30
Message-ID: <9mkns8$5s3$1@antares.lu.erisoft.se>
References: <09D1E9BD9C30D311919200A0C9DD5C2C03F58A8B AT mcaexc01 DOT msj DOT maxtor DOT com>
NNTP-Posting-Host: merope.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Kimball, Robert (Robert_Kimball AT maxtor DOT com) wrote:
: I am getting an error when compiling / assembling code that I do not
: understand.

[Klippa, klapp, kluppit the code.]

: The error that I get from RHIDE is "Error: cannot reload integer constant
: operand in 'asm'."  

Compile with "-S" and post the relevant part of the .S file here. Plus
the _complete_ errror message (including line numbers) and indicate
which line is the line pointed out. 


: Also how do I correctly translate the OFFSET thing in the above Intel style
: code?  

As we are in _flat_ protected mode, every variable is an offset so I
don't think you need that at all. I'm not an assebly guy though so I
could be wrong.

: I looked through the FAQ for this but found nothing.

But surely you found the links to documents that describes the
difference between Intel and AT&T syntax?


Right,

						MartinS

- Raw text -


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