This message comes to you from MacDev-1(tm) -- the Mac(tm) OS Developer News and Info server. See below for more info on this list (including sub/unsub details). __________________________
Automated re-coding of assembly language in C MicroAPL Ltd, creators of the well-known PortAsm assembly-language translation tool, today announced the launch of Relogix, an advanced new software conversion tool which can take assembly-language source files and automatically re-code them in readable, maintainable C, complete with meaningful variable names and types. Unlike most other attempts at automatic conversion from assembler to C, Relogix produces results close to what a skilled human programmer would produce if asked to re-write an assembler source file in C. Relogix achieves this by: - Reorganizing the program flow to use natural C constructs such as 'if', 'for' and 'case' statements, usually without recourse to 'goto'. Even 'spaghetti' code comes out as well-structured C source. - Automatically deducing function prototypes in a natural C style. Parameters originally passed to assembler subroutines either in registers or on the stack become parameters to the corresponding C function, rather than being left as global variables. - Analyzing the use of register- and memory-based data to select valid C data types for local and global variables, including automatic detection of structures and unions. - Eliminating unused variables and combining multiple assembler statements into one, readable C line. - Selecting meaningful names for variables which were originally represented in registers or on the stack. It does this by a unique algorithm which chooses names not only by analyzing the usage, type and origin of data, but also by examining comments in the original source file. - Intelligently carrying over comments from the assembler source into the translated C source, even where the code flow has been substantially changed during the translation. Relogix is initially available for translation of 680x0-family assembly language, with a version to translate x86 assembler following soon. Other architectures will be supported later. It will be sold both as a standalone tool and as a cost-effective porting service over the internet. MicroAPL will also offer traditional consultancy services based on the Relogix technology. Further information and sample translations can be found on the MicroAPL web site http://www.microapl.co.uk/asm2c MicroAPL, The Roller Mill, Mill Lane, Uckfield, E.Sussex TN22 5AA, UK WWW : http://www.microapl.co.uk PHONE: +44 1825 768050 E-Mail : [EMAIL PROTECTED] FAX: +44 1825 749472 __________________________ Please visit our sponsors: RadGad(sm): The Place for Useful Gifts & Gadgets.(sm) http://www.radgad.com/, mailto:[EMAIL PROTECTED], or 877-5-RADGAD MacTech(r) Magazine: The journal of Macintosh technology and development http://www.mactech.com, mailto:[EMAIL PROTECTED], or 805-494-9797 DevDepot(sm): Your Source for RAM, Technical & Developer Products http://www.devdepot.com, mailto:[EMAIL PROTECTED] or call 877-DEPOT-NOW To submit a posting to MacDev-1, mailto:[EMAIL PROTECTED] To subscribe to MacDev-1, send mail to [EMAIL PROTECTED] with the SUBJECT line reading "SUBSCRIBE MACDEV-1". To unsubscribe, the SUBJECT line should read "UNSUBSCRIBE MACDEV-1". MacTech, Developer Depot, RadGad, and Xplain Corporation are not responsible for any errors, omissions, or other inaccuracies in this message. News may be propagated freely, but please attribute your source as MacTech Magazine, <http://www.mactech.com>. --
