fix: dont always flip sign_extend msb

This commit is contained in:
2025-06-10 20:00:07 +09:00
parent 3756ada3e0
commit 037d74ac6a
2 changed files with 44 additions and 7 deletions

View File

@@ -140,3 +140,8 @@ impl fmt::Display for Computer {
write!(f, "{} | {}", self.regs, self.flags)
}
}
#[cfg(test)]
mod tests {
use super::*;
}