spin2cpp version 0.99
ersmith
Posts: 6,054
I've posted version 0.99 of spin2cpp to http://code.google.com/p/spin2cpp. This version has a number of bug fixes to compile Spin objects that previously were not working right. It also has a (very preliminary) converter from PASM syntax to GNU GAS syntax. There are two ways to use this:
(1) If you specify --gas on the command line while converting to C or C++, instead of a "dat" array spin2cpp will output inline GAS assembly. This makes the resulting C/C++ somewhat closer to readable, since the PASM part is now inline assembly.
(2) If you specify --gas --dat then the DAT section is output as a GAS .S file.
For ordinary use I would *not* recommend using --gas, since the assembler built in to spin2cpp actually works quite well.
As always, please report any bugs or other issues.
Eric
(1) If you specify --gas on the command line while converting to C or C++, instead of a "dat" array spin2cpp will output inline GAS assembly. This makes the resulting C/C++ somewhat closer to readable, since the PASM part is now inline assembly.
(2) If you specify --gas --dat then the DAT section is output as a GAS .S file.
For ordinary use I would *not* recommend using --gas, since the assembler built in to spin2cpp actually works quite well.
As always, please report any bugs or other issues.
Eric
Comments
Ray
Thanks so much for your efforts here. I really appreciate it, and I'm sure many other folks do as well.
Robert
As always, the web site for spin2cpp is http://code.google.com/p/spin2cpp.
Eric