This commit is contained in:
Kartik Agaram 2021-04-04 20:14:43 -07:00
parent 77c747379e
commit 40c1a2b595
1 changed files with 9 additions and 7 deletions

View File

@ -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"