NASM - The Netwide Assembler
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Calendar
Login
Register
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
getting the size of an operand
« previous
next »
Print
Pages: [
1
]
Author
Topic: getting the size of an operand (Read 16995 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?
Logged
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.
Logged
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
Logged
Print
Pages: [
1
]
« previous
next »
NASM - The Netwide Assembler
»
NASM Forum
»
Using NASM
»
getting the size of an operand