XGATE support in gcc/binutils (e.g. 9S12XEP100)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

XGATE support in gcc/binutils (e.g. 9S12XEP100)

2,014件の閲覧回数
jsmcortina
Contributor III
As I couldn't find any existing code, I have been working on adding
support for XGATE assembly to GNU binutils. This post is an early
notification that I'm working on it. If someone has already
started/completed the task then I can abandon my efforts or join forces.

This my first attempt at coding on binutils and it has taken time to
understand it.

However, I have got most of the XGATE assembly supported and most of
the relocations are done. The code creates one combined .elf and .s19
although objdump gets confused on disassembly and tries to disassemble
the XGATE code as if it were HCS12 code. (The opcodes look right though.)
I have not yet tried the resultant code on the chip though.

Last year I extended the HCS12 serial monitor to support the S12X
family global addressing and a colleague extended a DOS based
downloader to take an s19 and send it to the chip via serial.

James
ラベル(1)
0 件の賞賛
1 返信

256件の閲覧回数
jsmcortina
Contributor III
OK, here is a patch to binutils to add support for the XGATE and partial support for the S12X.

I have used it to create code and it works so far although testing is limited. There are bound to be bugs, but try it out and let me know how you get on

http://www.jsm-net.demon.co.uk/xgate/

James
0 件の賞賛