[Nasm-devel] Nasm.doc bug report

Mike Jones dmikejones at hotmail.com
Fri May 21 04:02:24 PDT 2021

OK, just a minor correction, but the example won't work as given:

In the ctxstack section:

the ctxlocal example of a 'repeat' macro  given is

\c           mov cx,string
\c           repeat
\c           add cx,3
\c           scasb
\c           until e

the wrong register is used!
the first line should be:

\c           mov di,string
and the add
\c           add di,3

(there also an issue with lack of termination if never found)


More information about the Nasm-devel mailing list