binutils xc163/xc165 SFR patch

Matthias Wenzel binutils-list@mazzoo.de
Wed Dec 20 12:07:00 GMT 2006


hi list,

the support for SFRs in xc16x binutils is somewhat limited. Many SFRs
are unknown, and are replaced by "???" during (dis)assembly.
So I created a patch to support all C163/C165 SFRs. But there's a
problem: I patch opcodes/xc16x-desc.c which starts with a big spoiler
saying "THIS FILE IS MACHINE GENERATED WITH CGEN" so I probably
shouldn't edit it.

But where are the sources for that file/ which are the steps to generate
it? I was digging for already supported SFRs like "stkov" but
opcodes/xc16x-desc.c is the only occurence...

nevertheless I attach the patch to get your comments.

Matthias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-2.17_C163_C165_SFR_0.patch
Type: text/x-patch
Size: 24217 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20061220/edc85019/attachment.bin>


More information about the Binutils mailing list