[Gems-users] Illegal operands


Date: Wed, 17 Jun 2009 16:20:06 +0800
From: "lenglihello" <lenglihello@xxxxxxx>
Subject: [Gems-users] Illegal operands
Hi, every body
I encounter a problem when I compile my program on the simulate machine, fallowing is the error place in my MakeFile :
***********************************
transaction.o: transaction.c transaction.h
 gcc -O3 -Wa,-xarch=v8plusa -DSIMICS -c -o transaction.o transaction.c
**********************************
and the error shows like:
**********************************
/var/tmp//ccu06BJG.s: Assembler messages
/var/tmp//ccu06BJG.s:1121:Error: Illegal operands
**********************************
 
I have searched on line, and people said that it is related to the undefination of registers used in program.
When all the codes related to registers in transaction.c are deleted, the problem disappeared.
But I still do not know how to solve the problem if I want to use the original transaction.c.
 
Any help will be appreciated!
2009-06-17

lenglihello
[← Prev in Thread] Current Thread [Next in Thread→]