汇编语言中的 dup('#') 是什么意思

what is the meaning of dup('#') in assembly language

e-g

  1. 源字节 "This is the source string",0
  2. 目标 BYTE SIZEOF 源 DUP('#')

这行代码中Dup('#')的作用是什么

dup (#) 用于数组声明。例如

array1  byte  20 DUP(0)      ;declare an array of 20 bytes
                             ;each byte initialized to 0
array2  byte  20 DUP('X')    ;declare an array of 20 bytes
                             ;each byte initialized to 'X'
array3  byte  20 DUP (?)     ;declare an array of 20 bytes
                             ;each byte is not initialized