This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GNU C (-5200 COLDFire)


Toon Moene wrote:

> 0001002A: 4218                 CLR.B     (A0)+
> 0001002C: 51C8                 DC.W      0x51C8
> 0001002E: FFFC                 DC.W      0xFFFC
> 
> **** Note that your disassembler doesn't know how to cope with the
>      two 16 bit words above - a sure sign something's fishy ****

Yup.

> 
> The DC.W 0x51C8 is actually a "Decrement and Branch" instruction;
> dunno why it isn't recognised by your disassembler - I assume the
> 5200 has this instruction.

I'm getting a bit rusty on this stuff...

Nope.  It doesn't.  The 520x cores don't.  5102 did, but that was a
cut-down
'040.

BTW, on the '040/060 subql #1 ; jcc  is better than dbra, but that's
another story.

Looks like another ColdFire ommision in the md (I haven't looked).

John.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]