HI ALL I´M STILL HAVING THIS ERROR INVALID OPCODE
EXCEPTION 6 IN SOME PC´S AND SOMETIMES.
COULD ANYONE HELP ME ?
MAYBE SHOULD BE THE LINK FILE ?
STILL HAVING INVALID OPCODE
- carbonBased
- Member
- Posts: 382
- Joined: Sat Nov 20, 2004 12:00 am
- Location: Wellesley, Ontario, Canada
- Contact:
You should probably limit your use of "ALL CAPS"... people generally interpret that to represent yelling and hostility.
As per your issue... are you saying that some PC's experience this invalid opcode, but some do not?
Do you have a list of PC's that exhibit this issue? Is it consistant?
Can you determine the opcode in question? Your handler should be able to do this.
--Jeff
As per your issue... are you saying that some PC's experience this invalid opcode, but some do not?
Do you have a list of PC's that exhibit this issue? Is it consistant?
Can you determine the opcode in question? Your handler should be able to do this.
--Jeff
If u r saying this exception is coming indeterministically....
then i have one suggestion based on my experience .....
(Assuming u r using gcc compiler + C as development langauge )
The problem may be related to Optimization level u use while compiling ur code
which contains mix of C and asm (using __asm__ __volatile__(...) stuff)
If ur optimuization level is O2 or above, then some mem reference might be optimized for regiters. But u might be using that mem variable in __asm__() statement which may
lead to unexpected error (where in i faced Exception 6)
Reducing Optimization level to O1 and declaring these variables (referenced in C + asm code ) as __volatile__ solved the problem to me.... try it once...
then i have one suggestion based on my experience .....
(Assuming u r using gcc compiler + C as development langauge )
The problem may be related to Optimization level u use while compiling ur code
which contains mix of C and asm (using __asm__ __volatile__(...) stuff)
If ur optimuization level is O2 or above, then some mem reference might be optimized for regiters. But u might be using that mem variable in __asm__() statement which may
lead to unexpected error (where in i faced Exception 6)
Reducing Optimization level to O1 and declaring these variables (referenced in C + asm code ) as __volatile__ solved the problem to me.... try it once...
guys, forgive me at using ALL CAPS.
please I would like to ask everyone here to forgive me that mistake...