我正在尝试编写一个名为Prompt的MACRO。它接受三个参数,将所有参数打印到控制台,然后读取一个字符串。
WriteStr MACRO text
push edx
mov edx, OFFSET text
call WriteString
pop edx
ENDM
mPrompt MACRO name, subject, buffer
push ecx
; Prompt
WriteStr promptStr
WriteStr name
WriteStr subject
; Get the user input
mov edx, OFFSET buffer
movzx ecx, maxChars
call ReadString
pop ecx
call Clrscr
ENDM
main PROC
call Clrscr
...
mPrompt nameStr, name, nameBuff
...
exit
main ENDP
但是,我在mPrompt nameStr, name, nameBuff
遇到语法错误
我该如何解决?