Macro Preprocessor (was: C -> ASM compression problem) 
Author Message
 Macro Preprocessor (was: C -> ASM compression problem)

Quote:



>>I solved it.  There were no logic problems ... but what I didn't realize
>>was that Microsoft's .IF-.ELSE-.ENDIF macros do unsigned comparisons on
>>memory variables (like word ptr [bp-2], etc).  Therefore, once I changed
>>them to "jg" and "jl" instead of "ja" and "jb" it worked perfectly.

>>Two weeks of my life that I'll never get back.  :)))))  But I'm so glad
>>that I got it fixed.  :)

>   Now you know why so many of us old-timer MASM users don't like the new
>   features.

   Now we all see why a separate macro processor (e.g. m4) is great
and helps avoid mistakes, while providing more power than lame MASM/TASM
macro systems ever can.
   However, I admit I am displeased with m4 syntax and semantics (not with
its POWER). Any better option anyone ?
--
--    ,                                         ,           _ v    ~  ^  --

--                                      '                   / .          --
Join the TUNES project for a computing system based on computing freedom !
                   TUNES is a Useful, Not Expedient System
WWW page at URL: " http://www.*-*-*.com/ :8080/home/rideau/Tunes/"


Mon, 02 Feb 1998 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. C -> ASM compression problem

2. Enhancing the preprocessor (was: A Vararg Macro?)

3. Preprocessor for parameterized macro definition

4. Macro preprocessor for COBOL?

5. Macro preprocessor.

6. macro preprocessor, for debugging information

7. FORTRAN preprocessor macros

8. FORTRAN preprocessor macros

9. ANNOUNCE: Tmac 1.0 - a macro preprocessor in Tcl for Tcl 8.4+

10. PD Ratfor and M4 (or other macro preprocessor) source

11. ANNOUNCE: Tmac - a macro preprocessor in Tcl for Tcl

12. BCC->ASM->OBJ->EXE ??

 

 
Powered by phpBB® Forum Software