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


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

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

I'm using the following development packages
    gcc-g77-  (GNU Fortran 0.5.21)
    gcc-        (gcc
    binutils-2.9.1-1      (as 2.9.1)

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

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.


    -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