In NASM, does one usually use %define for typedefs?

170 views Asked by At

For example:

%define char db
%define string db
%define float dd

  .section data
eol char `\n`
msg string "Message"
num float 1.2

Is this something I can do or should it be avoided for some reason? If so, is there a better alternative?

0

There are 0 answers