Mình tìm thấy trong hàm WriteString() của source code thư viện irvine mấy dòng này:
cld ; must do this before WriteConsole
INVOKE WriteConsole,
consoleOutHandle, ; console output handle
edx, ; points to string
eax, ; string length
OFFSET bytesWritten, ; returns number of bytes written
0
Tại sao phải dùng cld trước WriteConsole() ?