This commit is contained in:
2026-06-12 05:15:23 -04:00
parent ceebcdc0e3
commit 663e6648ca
2 changed files with 7 additions and 14 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ impl Code {
_ => 0b10,
};
self.bytes.push(modrm(mod_, 0, reg.base()));
if reg.val() == rsp.val() {
if reg.base() == rsp.base() {
// SIB
self.bytes.push(0x24);
}