This commit is contained in:
Kartik Agaram 2018-07-27 12:24:33 -07:00
parent 069ed1c879
commit 7a79dafad1

View File

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