Erroneous illegal instruction?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Erroneous illegal instruction?

489 Views
wheels
Contributor I

I'm trying to work up GCC and Newlib ports for the 68332 to support a legacy product, and my "Hello, world" program is dying on an illegal instruction trap. The disassembler in the JTAG debugger I'm using says the instruction pointed to by the exception frame is "ASR D1," which looks like an incomplete disassembly. The instruction itself is 0xE8C1, which, according to my references, is an "ASR.L #4,D1" instruction, and ought to be completely legal.

 

Anyone got an idea why I'm seeing this, and what I can do about it?

 

Thanks,

 

wheels

Labels (1)
0 Kudos
1 Reply

337 Views
TomE
Specialist II

Single-step it and see how it gets there.

 

Tom

 

0 Kudos