NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: nobody on January 20, 2006, 01:31:30 AM

Title: getting the size of an operand
Post by: nobody on January 20, 2006, 01:31:30 AM
I'm writing a macro, and I want to know how I can get the size of a operand from the macro, for example.
somemacro 1, byte 2, word 3

How I do from the macro to know wich size corresponds to %1, %2, and %3?
Title: Re: getting the size of an operand
Post by: nobody on January 20, 2006, 06:47:16 PM
I don't think that the NASM preprocessor
is currently powerful enough to achieve
what you want.
Title: Re: getting the size of an operand
Post by: nobody on January 20, 2006, 10:46:04 PM
Would be a nice feature :D