Hi,guys:
        This is first time that i come here,so greeting all


I got an simple question:

How can i define a variable with assembely like c?

VAR:
DS 1

OR

VAR DATA  001H


So,what the difference between them?
Posted on 2009-04-25 09:40:07 by yu zhou
I don't want to be arrogant, but you should consult a book about assembler before you make such questions.

For example, a variable can be declared like this:


.data?
MY_VAR_DWORD_OR_POINTER DD ?
MY_VAR_SIGNED_OR_UNSIGNED_BYTE DB ?
Posted on 2009-04-25 17:12:01 by TasmDev