summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-23 16:25:14 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-23 16:25:14 -0700
commitb9cc7f144998dc33aa529b0517e3de00ca11dcde (patch)
tree6f5516560aae49662318abd4989debf495f9588d /doc
parente49b5bf21cb101d261bffd9cda0cba02d692055c (diff)
downloadnasm-b9cc7f144998dc33aa529b0517e3de00ca11dcde.tar.gz
doc: use NASM syntax for x87 registers
The x87 registers are called ST0 and ST1 in NASM syntax, not ST(0) and ST(1). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/nasmdoc.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index b3eaab2d..d4004694 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -7357,7 +7357,7 @@ Integer return values are passed in \c{RAX} and \c{RDX}, in that order.
Floating point is done using SSE registers, except for \c{long
double}. Floating-point arguments are passed in \c{XMM0} to \c{XMM7};
return is \c{XMM0} and \c{XMM1}. \c{long double} are passed on the
-stack, and returned in \c{ST(0)} and \c{ST(1)}.
+stack, and returned in \c{ST0} and \c{ST1}.
All SSE and x87 registers are destroyed by function calls.