Saturday, August 30, 2008

r68 with Ubuntu/Debian Installer

While setting m4s up on my new laptop, I got frustrated with perl mods. Calling 'sudo make pmods_ubuntu' will now install all prerequisite perl modules.

Cheers,
--Travis

Thursday, August 21, 2008

r67 with Register Fingerprinting

karen% m4s /fingerprint/regs
r12 60
r13 6
r14 48
r15 221
karen

This example was compiled with an old version of IAR, which would only pass parameters in r12 and r14. r15 is the first scratch register, and r13 the second. GCC allocates r15, r14, r13, r12; recent revisions of IAR allocate r12, r13, r14, r15.

Cheers,
--Travis

Tuesday, July 22, 2008

r66, with a critical fix

R66 contains a fix to a critical bug introduced around r60. Upgrade immediately to regain use of subs.

Cheers,
--Travis Goodspeed
<travis at utk.edu>

Sunday, June 29, 2008

r60, in which much needed refactoring begins.

Howdy y'all,

It's an understatement to say that the m4s code has become a bit cluttered. To that end, I've begun to separate the code into modules and scripts. The code code has been moved to MSP430static.pm. msp430static.pl remains as a simple wrapper.

Further, a scripting feature has been added. Scripts reside in $m4s/scripts, and it is my intention to remove all unessential code from MSP430static.pl into the scripting directory. A script is called by name, preceded by a forward slash. The script loadmacros.pl, for example, is called as "/loadmacros". Subdirectories are supported. A matching textfile, loadmacros.txt, contains a short description for generating documentation.

Also, .lib.import.hashed is no longer run by default at initialization. Be sure to call it if you expect to recognize functions.

Please email me if you've any confusion regarding this processor, or have uncovered any bugs therein.

--Travis Goodspeed
<travis at utk.edu>

Friday, June 27, 2008

r60 with 'graph' directive

I've just committed a minor but useful feature to make my life easier while generating function flow diagrams. The new syntax follows,
echo "select insflow(asm) from code where ...;" | m4s sql graph >foo.dot"

Cheers,
--Travis

Monday, May 12, 2008

r59 with Boost::Graph requirement

R59 is out with minor fixes and the prerequisite that I promised. Better install Boost::Graph before updating.

--Travis

Wednesday, April 30, 2008

Upcoming Boost::Graph Requirement

Heads up! Beginning with the (not-yet-committed) r58, msp430static will require the Boost::Graph module from CPAN.