user2149896
user2149896

Reputation:

TASM : Unnamed variable declaration

while reading some TASM code I came upon an unknown syntax and I couldn't find what it means :

.data
    XX  DW  1
        DB  4

What does this mean ? I guess you declare a word called XX initialized to 1, but what about the next line ? Is it a part of the XX declaration or an unnamed variable to reserve some place ?

Upvotes: 1

Views: 618

Answers (1)

user2149896
user2149896

Reputation:

It means that at the address labelled by XX, I have an access to a word, and then a byte (so 3 bytes are reserved).

Upvotes: 1

Related Questions