The MASM Forum Archive 2004 to 2012

General Forums => The Laboratory => Topic started by: hutch-- on June 21, 2005, 04:53:53 AM

Title: Code generator example with a text to code conversion app.
Post by: hutch-- on June 21, 2005, 04:53:53 AM
I have got a basic tool up for converting normal cde in text form to the form it can be used with a set of macros in MASM. There is a console test piece called MAKEC that will write a bare C template to a disk file and a file called CGMACROS.ASM that has the current set of macros to handle the quoted text and other notation.

Its testing up OK so far and the main hassle has been to ensure that characters that will generate errors within quoted text are replaced with a different notation. The character replacements are a set of equates in the macro file.

[attachment deleted by admin]