about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-27 23:13:23 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-27 23:13:23 -0700
commit91e6ebcf51db0a38d96eaf3b62bfe94628c58ab0 (patch)
tree0045a658c403065af98cabf5e20b3e84f133c723
parent4f872e345a8518cf08f0a8bfbb526bf191c623e6 (diff)
downloadmu-91e6ebcf51db0a38d96eaf3b62bfe94628c58ab0.tar.gz
6890
-rw-r--r--032operands.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/032operands.cc b/032operands.cc
index d8837f92..22a6ca83 100644
--- a/032operands.cc
+++ b/032operands.cc
@@ -116,7 +116,7 @@ void init_argument_type_help() {
   );
   put(Help, "xm32",
     "32-bit value in a floating-point register or memory. The precise details of its\n"
-    "construction depend on the eponymous 3-bit 'rm32' argument, the 'mod' argument,\n"
+    "construction depend on the eponymous 3-bit 'xm32' argument, the 'mod' argument,\n"
     "and also potentially the 'SIB' arguments ('scale', 'index' and 'base')\n"
     "and a displacement ('disp8' or 'disp32').\n"
     "\n"
@@ -125,8 +125,9 @@ void init_argument_type_help() {
     "  - modrm.pdf: volume 2, table 2-2, \"32-bit addressing with the ModR/M byte.\".\n"
     "  - sib.pdf: volume 2, table 2-3, \"32-bit addressing with the SIB byte.\".\n"
     "\n"
-    "One subtlety here: while direct mode uses floating-point registers, other addressing\n"
-    "modes to construct memory addresses use integer registers."
+    "One subtlety here: while /xm32 refers to floating-point registers in direct mode\n"
+    "(when /mod is 3), other addressing modes to construct memory addresses use integer registers\n"
+    "(just like /rm32). Other than that, its behavior is identical to /rm32.\n"
   );
   put(Help, "base",
     "Additional 3-bit argument (when 'rm32' is 4, unless 'mod' is 3) specifying the\n"