emu8086 DUP Directive with dwords?

Viewed 178

I'm having problems understanding the DUP directive.
When I initialize an array with the following code:

t1 dd 2 dup(25ABh), 12h

I can see the following data stored in the data segment:

14 00 00 00 12 00 00 00

Why is it not AB 25 00 00 AB 25 00 12 00 00 00?

If I delete the dup directive and write t1 dd 25ABh, 12h instead, I get the expected
AB 25 00 00 12 00 00 00

In emu8086's GUI:
Screenshot of the result I get

What am I doing wrong?

0 Answers
Related