about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-27 12:24:33 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-27 12:24:33 -0700
commit7a79dafad1f458030a9e53ad2e3f84861dac7f06 (patch)
tree70e6e62f3295b1acc32a424fc66d3a96d75caa2b
parent069ed1c879866673ce51dfccfb6b78f8055aeb4d (diff)
downloadmu-7a79dafad1f458030a9e53ad2e3f84861dac7f06.tar.gz
4443
-rw-r--r--subx/022check_instruction.cc14
1 files changed, 9 insertions, 5 deletions
diff --git a/subx/022check_instruction.cc b/subx/022check_instruction.cc
index 860921ae..5eb21136 100644
--- a/subx/022check_instruction.cc
+++ b/subx/022check_instruction.cc
@@ -610,12 +610,16 @@ void init_operand_type_help() {
     "to determine how to compute the _effective address_ to look up memory at\n"
     "based on the 'rm32' operand and potentially others.\n"
     "\n"
-    "If mod = 3, just operate on the contents of the register specified by rm32 (direct mode).\n"
-    "If mod = 2, effective address is usually* rm32 + disp32 (indirect mode with displacement).\n"
-    "If mod = 1, effective address is usually* rm32 + disp8 (indirect mode with displacement).\n"
+    "If mod = 3, just operate on the contents of the register specified by rm32\n"
+    "            (direct mode).\n"
+    "If mod = 2, effective address is usually* rm32 + disp32\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). Using it as an address gets more involved.\n"
-    "     For more details, try reading the help pages for 'base', 'index' and 'scale'.)\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 consult the IA-32 software developer's manual, table 2-2,\n"
     "\"32-bit addressing forms with the ModR/M byte\".\n"