Author Topic: getting the size of an operand  (Read 16548 times)

nobody

  • Guest
getting the size of an operand
« 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?

nobody

  • Guest
Re: getting the size of an operand
« Reply #1 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.

nobody

  • Guest
Re: getting the size of an operand
« Reply #2 on: January 20, 2006, 10:46:04 PM »
Would be a nice feature :D