News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Macro bug?

Started by daydreamer, December 29, 2004, 10:08:29 PM

Previous topic - Next topic

daydreamer

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?

hutch--

Try it with AX zero extended to EAX and see if it does what you want.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

daydreamer

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?