Error: operands given don't match any known 386 instruction 
Author Message
 Error: operands given don't match any known 386 instruction

Hi,

I'm trying to compile some fortran code on a Linux machine using g77 in
a libc5 environment, and I often get an error message from the assembler
saying:

Quote:
>Error: operands given don't match any known 386 instruction

I'm using the following development packages
    gcc-g77-2.7.2.3-5  (GNU Fortran 0.5.21)
    gcc-2.7.2.3-5        (gcc 2.7.2.3.f.1)
    binutils-2.9.1-1      (as 2.9.1)
    libc-5.4.46-1rh42

I do not see these problems when I try using more current libc6
development tools.  I've been able to trace a lot of these errors to
things like:
    (1) exponentiating to a non-integer constant (e.g.  alpha**2.5)
    (2) calling a subroutine with constants in the argument list (e.g.
CALL DUMMY(1.0,N,M,Z)  )
Changing the non-integer constant exponents to variables, and changing
the constants in function calls to variables eliminates the error
message.

I was curious if anyone has seen this type of problem before?  Is there
a good way to correct it?  Looking through the info pages for g77, I
found mention that exponentiating with non-integers in parameter
statements is not supported in g77 0.5.21.  This, however, does not
apply to my case --- I'm doing the exponentiation in a normal statement.

TIA.

    -Ray Kraft

--
----------------------------------------------------------------------
       _/_/_/_/       _/      _/      _/  Ray Kraft
      _/     _/     _/ _/      _/   _/    Seattle, Washington

    _/   _/     _/       _/     _/
   _/     _/   _/       _/     _/

URL: http://www.*-*-*.com/ ~ray
Anonymous ftp: Available upon request.

Disclaimer: None
----------------------------------------------------------------------



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. match works, don't match doesn't

2. bug in 7.0b3: string operands in expr don't work

3. It's stupid but I don't know fortran :-(((

4. Probably it's easy, but I don't know how to do :(

5. Howto link a 386 instruction set program?

6. MMX instructions in native 386 code

7. One Cycle/Byte Penalty when using 386+ instructions

8. BT Instruction (386+)

9. MMX instructions in native 386 code

10. Determining the instruction length on a 386

11. Lahey EM/32 w OS/386, NDP-386 w Pharlap, Watcom 77/386

12. Source and sink don't match ???

 

 
Powered by phpBB® Forum Software