aboutsummaryrefslogtreecommitdiff
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/x86_64/asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/x86_64/asm.c b/executor/x86_64/asm.c
index 606e539..c741f15 100644
--- a/executor/x86_64/asm.c
+++ b/executor/x86_64/asm.c
@@ -315,7 +315,7 @@ static void asm_rm(Asm *self, AsmPtr *mem, Reg64 reg) {
}
*self->code_it++ = (reg << 3) | rm_byte;
- /* RSP requires SIB byte when displacement is not 0 */
+ /* RSP requires SIB byte */
if(mem->base == RSP)
*self->code_it++ = 0x24;
}