From c018c2c6689a547586d2eaf36bb99ba6820d8319 Mon Sep 17 00:00:00 2001 From: AlmeidaDaniel <2309248@upy.edu.mx> Date: Thu, 11 Jun 2026 17:13:24 -0600 Subject: [PATCH] undo changes --- src/spider/runtime/instr/Instr_000-01F.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/spider/runtime/instr/Instr_000-01F.cpp b/src/spider/runtime/instr/Instr_000-01F.cpp index b75b16c..aaec58f 100644 --- a/src/spider/runtime/instr/Instr_000-01F.cpp +++ b/src/spider/runtime/instr/Instr_000-01F.cpp @@ -373,16 +373,16 @@ namespace spider { fetchOperDst(); switch(_size){ case 0b00: //byte - RF = (RF & ~static_cast(0x3 << 9)) | ((_dst->_u8 >> 9) & 0x3) << 9; + RF = (RF & ~(0x3 << 9)) | ((_dst->_u8 >> 9) & 0x3) << 9; break; case 0b01: //short - RF = (RF & ~static_cast(0x3 << 9)) | ((_dst->_u16 >> 9) & 0x3) << 9; + RF = (RF & ~(0x3 << 9)) | ((_dst->_u16 >> 9) & 0x3) << 9; break; case 0b10: //int - RF = (RF & ~static_cast(0x3 << 9)) | ((_dst->_u32 >> 9) & 0x3) << 9; + RF = (RF & ~(0x3 << 9)) | ((_dst->_u32 >> 9) & 0x3) << 9; break; case 0b11: //long - RF = (RF & ~static_cast(0x3 << 9)) | ((_dst->_u64 >> 9) & 0x3) << 9; + RF = (RF & ~(0x3 << 9)) | ((_dst->_u64 >> 9) & 0x3) << 9; break; } }