NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: ben321 on January 03, 2017, 11:54:44 PM

Title: So what do these pseudo commands actually do?
Post by: ben321 on January 03, 2017, 11:54:44 PM
In the documentation it says "DT, DO, DY and DZ do not accept numeric constants as operands."

So how do you use them? They are supposed to be used for putting in initialized data (as with DB, DW, and DD), but if they don't accept constants, then how do you use them. Sadly the documentation does not mention this, leaving the end user (like me) scratching his head, trying to figure out how to use them.
Title: Re: So what do these pseudo commands actually do?
Post by: Frank Kotler on January 04, 2017, 01:07:51 AM
Floats, I guess.
Title: Re: So what do these pseudo commands actually do?
Post by: Bryant Keller on January 28, 2017, 07:06:16 AM
I think this should say "integer constants" instead. It supports floating point constants, just not integer (or hex) ones.