Search code examples
assemblymasmemu8086

How to make an array of repeated values in MASM or emu8086?


How can I make a table of size 10 have the same value 0ffh repeated multiple times?

tab2 db 0ffh*10 doesn't work.

Note: using emu8086


Solution

  • The answer is tab2 db 10 dup (0ffh) It worked thx for @Michael 4