gcc/as problem: integer operand out of range
When I compile a c++ program with gcc I get the following messages:
iaxxsldc.S: Assembler messages:
iaxxsldc.S:4791: Error: Bad operand value: integer operand out of range iaxxsldc.S:4861: Error: Bad operand value: integer operand out of range iaxxsldc.S:4879: Error: Bad operand value: integer operand out of range iaxxsldc.S:8895: Error: Bad operand value: integer operand out of range iaxxsldc.S:8933: Error: Bad operand value: integer operand out of range
where 4791 reads as follows:
add r32 = -8808, r32
Is this a gas problem ? A gcc problem ?
Thanks in advance.
Kind regards,
Thomas
--
Thomas Hiller [email protected] COMPAQ Computer Corporation [email protected] Global SAP Solution Center Tel: +49 6227 / 7-45426 LinuxLab @ SAP, Walldorf Fax: +49 6227 / 7-43027
iaxxsldc.S: Assembler messages:
If the compiler generated this instruction, then the compiler is at fault.
However, it looks like you are compiling a hand-written assembly file, because the filename in the error message ends in .S. The only way that can happen is if you feed an assembly file to the compiler. In this case, the error would be in the hand-written assembly language code.
Jim