about summary refs log tree commit diff stats
path: root/linux
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-04-04 20:14:43 -0700
committerKartik Agaram <vc@akkartik.com>2021-04-04 20:14:43 -0700
commit40c1a2b595aeebf976b4b05d12c1adc6588398d5 (patch)
treede54cf9bd5e3a7dac96143addbfcaf34be923c90 /linux
parent77c747379e55c6a5f3bb7d29bdc2538858a97e79 (diff)
downloadmu-40c1a2b595aeebf976b4b05d12c1adc6588398d5.tar.gz
.
Diffstat (limited to 'linux')
-rw-r--r--linux/bootstrap/032operands.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/linux/bootstrap/032operands.cc b/linux/bootstrap/032operands.cc
index 8c163932..7bad6090 100644
--- a/linux/bootstrap/032operands.cc
+++ b/linux/bootstrap/032operands.cc
@@ -74,15 +74,17 @@ void init_argument_type_help() {
     "based on the 'rm32' argument and potentially others.\n"
     "\n"
     "If mod = 3, just operate on the contents of the register specified by rm32\n"
-    "            (direct mode).\n"
+    "            (direct mode)\n"
     "If mod = 2, effective address is usually* rm32 + disp32\n"
-    "            (indirect mode with displacement).\n"
+    "            (indirect mode with displacement)\n"
     "If mod = 1, effective address is usually* rm32 + disp8\n"
-    "            (indirect mode with displacement).\n"
-    "If mod = 0, effective address is usually* rm32 (indirect mode).\n"
-    "(* - The exception is when rm32 is '4'. Register 4 is the stack pointer (ESP).\n"
-    "     Using it as an address gets more involved. For more details,\n"
-    "     try reading the help pages for 'base', 'index' and 'scale'.)\n"
+    "            (indirect mode with displacement)\n"
+    "If mod = 0, effective address is usually* rm32\n"
+    "            (indirect mode)\n"
+    "\n"
+    "* - The exception is when rm32 is '4'. Register 4 is the stack pointer (ESP).\n"
+    "    Using it as an address gets more involved. For more details,\n"
+    "    try reading the help pages for 'base', 'index' and 'scale'.\n"
     "\n"
     "For complete details, spend some time with two tables in the IA-32 software\n"
     "developer's manual that are also included in this repo:\n"