1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2025-07-26 08:58:06 +00:00

Fix typos in comments (#110)

This commit is contained in:
Turo Lamminen 2025-02-21 10:53:50 +02:00 committed by GitHub
parent c43ceb8a34
commit 13d78c9d92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -748,7 +748,7 @@ NdToText(
break; break;
} }
// Perpend the segment, only if it is overridden via a prefix. // Prepend the segment, only if it is overridden via a prefix.
if (pOp->Info.Memory.HasSeg && Instrux->HasSeg) if (pOp->Info.Memory.HasSeg && Instrux->HasSeg)
{ {
if ((ND_CODE_64 != Instrux->DefCode) || (NDR_FS == pOp->Info.Memory.Seg) || if ((ND_CODE_64 != Instrux->DefCode) || (NDR_FS == pOp->Info.Memory.Seg) ||
@ -793,7 +793,7 @@ NdToText(
} }
} }
// Index, if any. Special treatment for VSIB addressing. Also, perpend a "+" if base is present. // Index, if any. Special treatment for VSIB addressing. Also, prepend a "+" if base is present.
if (pOp->Info.Memory.HasIndex) if (pOp->Info.Memory.HasIndex)
{ {
if (pOp->Info.Memory.Index >= (pOp->Info.Memory.IsVsib ? ND_MAX_SSE_REGS : ND_MAX_GPR_REGS)) if (pOp->Info.Memory.Index >= (pOp->Info.Memory.IsVsib ? ND_MAX_SSE_REGS : ND_MAX_GPR_REGS))