The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: daydreamer on December 29, 2004, 10:08:29 PM

Title: Macro bug?
Post by: daydreamer on December 29, 2004, 10:08:29 PM
m2m MACRO m2,m1
    push m1
    pop m2
    ENDM

this doesnt work with m2m mem1,[mem2+ax]
neither reports compile error and debugged it showed a push to mem2, no indexing
or have I made the macro wrong?
Title: Re: Macro bug?
Post by: hutch-- on December 29, 2004, 11:01:08 PM
Try it with AX zero extended to EAX and see if it does what you want.
Title: Re: Macro bug?
Post by: daydreamer on January 02, 2005, 01:56:01 AM
Quote from: hutch-- on December 29, 2004, 11:01:08 PM
Try it with AX zero extended to EAX and see if it does what you want.
thanks, but can I trust my bugs arent in macro processor not reporting a illegal adressmode?